xo-jit: + MachPipeline::dump_current_module
This commit is contained in:
parent
3298fdf277
commit
c739e3bd4c
2 changed files with 11 additions and 0 deletions
|
|
@ -92,6 +92,9 @@ namespace xo {
|
|||
**/
|
||||
void machgen_current_module();
|
||||
|
||||
/** dump text description of module contents to console **/
|
||||
void dump_current_module();
|
||||
|
||||
/** lookup symbol in jit-associated output library **/
|
||||
llvm::orc::ExecutorAddr lookup_symbol(const std::string & x);
|
||||
|
||||
|
|
|
|||
|
|
@ -503,6 +503,14 @@ namespace xo {
|
|||
return nullptr;
|
||||
} /*codegen*/
|
||||
|
||||
void
|
||||
MachPipeline::dump_current_module()
|
||||
{
|
||||
/* dump module contents to console */
|
||||
|
||||
llvm_module_->dump();
|
||||
}
|
||||
|
||||
void
|
||||
MachPipeline::machgen_current_module()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue