[LLVMdev] MCJIT crash on 64 bit Linux, works find on OSX
Andy Somogyi
andy.somogyi at gmail.com
Fri Feb 28 18:32:20 PST 2014
Hi All.
I have an issue when a MCJIT ExecutionEngine is created then deleted, any C++ exception thrown after the MCJIT dtor is called will result in a seg fault. This does not occur with the regular JIT engine, and only occurs on Linux, works fine on OSX.
basically its like this:
ExecutionEngine *e = engineBuilder.create();
// this is fine
try { throw exception()} catch(exception&) {}
delete e
e = engineBuilder.create();
// this will cause a segfault on 64 bit Linux, LLVM 3.4
// works fine on OSX
try { throw exception()} catch(exception&) {}
Any ideas?
More information about the llvm-dev
mailing list