mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Expose Module::dump via C and Ocaml.
Patch by Erick Tryzelaar. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48378 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
59dc98de2f
commit
3c5da81df8
@ -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} *)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user