diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-03-14 23:58:56 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-03-14 23:58:56 +0000 |
commit | af59b105bb3f9a31f1812e470eb9db28a8a1b491 (patch) | |
tree | b7f6b165cf0f13c635be441b1a97f65b8f1e1fd7 /include/llvm-c | |
parent | 3c5da81df86ec463c5604cb36d93e699a25c6b4d (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.h | 3 |
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 -------------------------------------------------------------===*/ |