]> granicus.if.org Git - llvm/commit
[RuntimeDyld] Make sure we emit MachO __eh_frame and __gcc_except_tab sections,
authorLang Hames <lhames@gmail.com>
Wed, 15 Apr 2015 03:39:22 +0000 (03:39 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 15 Apr 2015 03:39:22 +0000 (03:39 +0000)
commita01f355245534c64dd144bd15c0f3292b856a751
tree1ce28c3db52c04d46d27e159cd796538da1a977b
parentc0a57ae8ec19069fae1f05b4ae5a816ce2615403
[RuntimeDyld] Make sure we emit MachO __eh_frame and __gcc_except_tab sections,
even if there are no references to them in the code.

This allows exceptions thrown from JIT'd code to be caught by the JIT itself.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234975 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s