1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/ExecutionEngine/JITLink
Lang Hames 4c563335f4 [JITLink] Refer to FDE's CIE (not the most recent CIE) when parsing eh-frame.
Frame Descriptor Entries (FDEs) have a pointer back to a Common Information
Entry (CIE) that describes how the rest FDE should be parsed. JITLink had been
assuming that FDEs always referred to the most recent CIE encountered, but the
spec allows them to point back to any previously encountered CIE. This patch
fixes JITLink to look up the correct CIE for the FDE.

The testcase is a MachO binary with an FDE that refers to a CIE that is not the
one immediately proceeding it (the layout can be viewed wit
'dwarfdump --eh-frame <testcase>'. This test case had to be a binary as llvm-mc
now sorts FDEs (as of r356216) to ensure FDEs *do* point to the most recent CIE.

llvm-svn: 359105
2019-04-24 15:15:55 +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] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
EHFrameSupport.cpp [JITLink] Refer to FDE's CIE (not the most recent CIE) when parsing eh-frame. 2019-04-24 15:15:55 +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] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
JITLinkGeneric.cpp [JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
JITLinkGeneric.h
LLVMBuild.txt [JITLink] Add BinaryFormat to JITLink's dependencies. 2019-04-20 19:48:45 +00:00
MachO_x86_64.cpp Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. NFCI. 2019-04-23 11:16:16 +00:00
MachO.cpp [JITLink] Remove a lot of reduntant 'JITLink_' prefixes. NFC. 2019-04-22 03:03:09 +00:00
MachOAtomGraphBuilder.cpp
MachOAtomGraphBuilder.h