summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit6c6075e326a1d683f79a73730860646153c97273 (patch)
tree6c1c9b059002aa5cae2ab0a58cf4c1003c47a7f3 /llvm/include/llvm-c
parentc63aaeadd2920502e955c684e807b6d8b54d241d (diff)
downloadbcm5719-llvm-6c6075e326a1d683f79a73730860646153c97273.tar.gz
bcm5719-llvm-6c6075e326a1d683f79a73730860646153c97273.zip
Expose Module::dump via C and Ocaml.
Patch by Erick Tryzelaar. llvm-svn: 48379
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 1c3fc9ceb46..b10e2b721e2 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/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 -------------------------------------------------------------===*/
OpenPOWER on IntegriCloud