Expose Module::dump via C and Ocaml.

Patch by Erick Tryzelaar.

llvm-svn: 48378
This commit is contained in:
Gordon Henriksen 2008-03-14 23:52:53 +00:00
parent 9e0461cd6e
commit c63aaeadd2
1 changed files with 4 additions and 0 deletions

View File

@ -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} *)