1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/lib/ExecutionEngine/JITLink
Lang Hames a74aa5a5a0 [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
CMakeLists.txt
EHFrameSupport.cpp
EHFrameSupportImpl.h
JITLink.cpp
JITLinkGeneric.cpp
JITLinkGeneric.h
JITLinkMemoryManager.cpp
LLVMBuild.txt
MachO_x86_64.cpp
MachO.cpp
MachOAtomGraphBuilder.cpp
MachOAtomGraphBuilder.h