1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/lib/ExecutionEngine/JITLink
Lang Hames 47191b1421 [JITLink] Switch to slab allocation for InProcessMemoryManager, re-enable test.
InProcessMemoryManager used to make separate memory allocation calls for each
permission level (RW, RX, RO), which could lead to target-out-of-range errors
if data and code were placed too far apart (this was the source of failures in
the JITLink/AArch64 testcase when it was first landed).

This patch updates InProcessMemoryManager to allocate a single slab which is
subdivided between text and data. This should guarantee that accesses remain
in-range provided that individual object files do not exceed 1Mb in size.
This patch also re-enables the JITLink/AArch64 testcase.

llvm-svn: 374948
2019-10-15 21:06:57 +00:00
..
BasicGOTAndStubsBuilder.h [JITLink] Switch from an atom-based model to a "blocks and symbols" model. 2019-10-04 03:55:26 +00:00
CMakeLists.txt [JITLink] Add an initial implementation of JITLink for MachO/AArch64. 2019-10-10 23:37:51 +00:00
EHFrameSupport.cpp [JITLink] Fix an unused variable warning. 2019-10-04 05:24:39 +00:00
EHFrameSupportImpl.h [JITLink] Switch from an atom-based model to a "blocks and symbols" model. 2019-10-04 03:55:26 +00:00
JITLink.cpp Fix MSVC "not all control paths return a value" warning. NFCI. 2019-10-04 11:24:51 +00:00
JITLinkGeneric.cpp [JITLink] Switch from an atom-based model to a "blocks and symbols" model. 2019-10-04 03:55:26 +00:00
JITLinkGeneric.h [JITLink] Switch from an atom-based model to a "blocks and symbols" model. 2019-10-04 03:55:26 +00:00
JITLinkMemoryManager.cpp [JITLink] Switch to slab allocation for InProcessMemoryManager, re-enable test. 2019-10-15 21:06:57 +00:00
LLVMBuild.txt
MachO_arm64.cpp [JITLink] Fix MachO/arm64 GOTPAGEOFF encoding. 2019-10-11 01:50:31 +00:00
MachO_x86_64.cpp [JITLink] Switch from an atom-based model to a "blocks and symbols" model. 2019-10-04 03:55:26 +00:00
MachO.cpp [JITLink] Add an initial implementation of JITLink for MachO/AArch64. 2019-10-10 23:37:51 +00:00
MachOLinkGraphBuilder.cpp Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI. 2019-10-04 11:24:35 +00:00
MachOLinkGraphBuilder.h [JITLink] Silence GCC warnings. NFC. 2019-10-04 19:47:42 +00:00