[LLVMdev] Jump back to/return from runFunction

edA-qa mort-ora-y eda-qa at disemia.com
Tue Jan 29 21:41:19 PST 2013


How can I properly exit from code being executed via
"ExecutionEngine::runFunction"? My JIT'd code is executing and it calls
a function in the host program. This host function then decides the
executing code should be stopped and wants to return from runFunction.

I've considered setjmp/longjmp, but I'm not sure if this would properly
clean up the ExecutionEngine internals.

-- 
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130130/b9a64784/attachment.sig>


More information about the llvm-dev mailing list