diff options
author | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-03-14 23:52:53 +0000 |
---|---|---|
committer | Gordon Henriksen <gordonhenriksen@mac.com> | 2008-03-14 23:52:53 +0000 |
commit | c63aaeadd2920502e955c684e807b6d8b54d241d (patch) | |
tree | 4aca0bbac742dd1693e45b4b1b4dff51e8896637 | |
parent | 9e0461cd6ef2f5ab9646ecf48bb610d8bd3ef481 (diff) | |
download | bcm5719-llvm-c63aaeadd2920502e955c684e807b6d8b54d241d.tar.gz bcm5719-llvm-c63aaeadd2920502e955c684e807b6d8b54d241d.zip |
Expose Module::dump via C and Ocaml.
Patch by Erick Tryzelaar.
llvm-svn: 48378
-rw-r--r-- | llvm/bindings/ocaml/llvm/llvm.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/bindings/ocaml/llvm/llvm.mli b/llvm/bindings/ocaml/llvm/llvm.mli index 23c565b60c0..60b3bcef1ee 100644 --- a/llvm/bindings/ocaml/llvm/llvm.mli +++ b/llvm/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" +(** [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} *) |