llvm-project/llvm/lib/ExecutionEngine/JITLink
Lang Hames c48f1f6da6 [JITLink][ORC] Track eh-frame section size for registration/deregistration.
On MachO, processing of the eh-frame section should stop if the end of the
__eh_frame section is reached, regardless of whether or not there is a null CFI
length field at the end of the section. This patch tracks the eh-frame section
size and threads it through the appropriate APIs so that processing can be
terminated correctly.

No testcase yet: This patch is all API plumbing (rather than modification of
linked memory) which the existing infrastructure does not provide a way of
testing. Committing without a testcase until I have an idea of how to write
one.

llvm-svn: 370074
2019-08-27 15:50:32 +00:00
..
BasicGOTAndStubsBuilder.h [JITLink] Factor basic common GOT and stub creation code into its own class. 2019-04-21 03:14:42 +00:00
CMakeLists.txt [JITLink] Move JITLinkMemoryManager into its own header. 2019-06-14 19:41:21 +00:00
EHFrameSupport.cpp [JITLink][ORC] Track eh-frame section size for registration/deregistration. 2019-08-27 15:50:32 +00:00
EHFrameSupportImpl.h [JITLink] Refer to FDE's CIE (not the most recent CIE) when parsing eh-frame. 2019-04-24 15:15:55 +00:00
JITLink.cpp [JITLink] Move JITLinkMemoryManager into its own header. 2019-06-14 19:41:21 +00:00
JITLinkGeneric.cpp [JITLink] Don't under-align zero-fill sections. 2019-08-27 15:22:23 +00:00
JITLinkGeneric.h [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
JITLinkMemoryManager.cpp [JITLink] Move JITLinkMemoryManager into its own header. 2019-06-14 19:41:21 +00:00
LLVMBuild.txt [JITLink] Add BinaryFormat to JITLink's dependencies. 2019-04-20 19:48:45 +00:00
MachO.cpp [ORC][JITLink] Name in-memory compiled objects after their source modules. 2019-04-30 21:27:56 +00:00
MachOAtomGraphBuilder.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
MachOAtomGraphBuilder.h [JITLink] Add a test for zero-filled content. 2019-05-12 22:26:33 +00:00
MachO_x86_64.cpp [JITLink] Add support for MachO/x86-64 UNSIGNED relocs with length=2. 2019-08-03 20:17:10 +00:00