projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
59dc98d
)
Expose Module::dump via C and Ocaml.
author
Gordon Henriksen
<gordonhenriksen@mac.com>
Fri, 14 Mar 2008 23:52:53 +0000
(23:52 +0000)
committer
Gordon Henriksen
<gordonhenriksen@mac.com>
Fri, 14 Mar 2008 23:52:53 +0000
(23:52 +0000)
Patch by Erick Tryzelaar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48378
91177308
-0d34-0410-b5e6-
96231b3b80d8
bindings/ocaml/llvm/llvm.mli
patch
|
blob
|
history
diff --git
a/bindings/ocaml/llvm/llvm.mli
b/bindings/ocaml/llvm/llvm.mli
index 23c565b60c0c455f2e50314185a933ac203a4218..60b3bcef1ee3a2c38c89986e48a12b1772fdcbd4 100644
(file)
--- a/
bindings/ocaml/llvm/llvm.mli
+++ b/
bindings/ocaml/llvm/llvm.mli
@@
-200,6
+200,10
@@
external define_type_name : string -> lltype -> llmodule -> bool
external delete_type_name : string -> llmodule -> unit
= "llvm_delete_type_name"
external delete_type_name : string -> llmodule -> unit
= "llvm_delete_type_name"
+(** [dump_module m] prints the .ll representation of the module [m] to standard
+ error. See the method [llvm::Module::dump]. *)
+external dump_module : llmodule -> unit = "llvm_dump_module"
+
(** {6 Types} *)
(** {6 Types} *)