[PATCH]Unload EH frames in ~MCJIT

Yaron Keren yaron.keren at gmail.com
Wed Oct 9 10:22:21 PDT 2013


Module loaded with MCJIT register its EH frames with __register_frame to
the runtime library. After MCJIT destructs and the module unloaded,  the
runtime stays with invalid frames of the module, leading to faulty EH
behaviour next time.

This patch calls __deregister_frame upon MCJIT destruction to keep proper
runtime library EH state.

Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/79e6013f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm-deregisterframe.diff
Type: application/octet-stream
Size: 3962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/79e6013f/attachment.obj>


More information about the llvm-commits mailing list