xo-jit: modest output change in utest
This commit is contained in:
parent
7e1f3c8cb5
commit
cf95f64961
1 changed files with 3 additions and 2 deletions
|
|
@ -251,13 +251,14 @@ namespace xo {
|
||||||
|
|
||||||
jit->machgen_current_module();
|
jit->machgen_current_module();
|
||||||
|
|
||||||
cerr << "execution session after codegen:" << endl;
|
log && log("execution session after codegen:");
|
||||||
|
//log && log(jit->xsession()); // segfaults
|
||||||
jit->dump_execution_session();
|
jit->dump_execution_session();
|
||||||
|
|
||||||
/** lookup compiled function pointer in jit **/
|
/** lookup compiled function pointer in jit **/
|
||||||
auto llvm_addr = jit->lookup_symbol(fn_ast->name());
|
auto llvm_addr = jit->lookup_symbol(fn_ast->name());
|
||||||
|
|
||||||
cerr << "execution session after lookup attempt:" << endl;
|
log && log("execution session after lookup attempt:");
|
||||||
jit->dump_execution_session();
|
jit->dump_execution_session();
|
||||||
|
|
||||||
if (!llvm_addr) {
|
if (!llvm_addr) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue