aboutsummaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2008-03-14 23:58:56 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2008-03-14 23:58:56 +0000
commitaf59b105bb3f9a31f1812e470eb9db28a8a1b491 (patch)
treeb7f6b165cf0f13c635be441b1a97f65b8f1e1fd7 /include/llvm-c
parent3c5da81df86ec463c5604cb36d93e699a25c6b4d (diff)
Expose Module::dump via C and Ocaml.
Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48379 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 1c3fc9ceb4..b10e2b721e 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -183,6 +183,9 @@ void LLVMSetTarget(LLVMModuleRef M, const char *Triple);
int LLVMAddTypeName(LLVMModuleRef M, const char *Name, LLVMTypeRef Ty);
void LLVMDeleteTypeName(LLVMModuleRef M, const char *Name);
+/** See Module::dump. */
+void LLVMDumpModule(LLVMModuleRef M);
+
/*===-- Types -------------------------------------------------------------===*/