diff options
author | Lang Hames <lhames@gmail.com> | 2019-10-15 21:06:57 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2019-10-15 21:06:57 +0000 |
commit | c85d0aaa2a6db5e71dddd76f9c380d8b786c5c9e (patch) | |
tree | 7efafc701f56e5d607819c73319999d5d59a49cc /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 74b285eee7288500f6041c0fa49413c8ead217f4 (diff) | |
download | bcm5719-llvm-c85d0aaa2a6db5e71dddd76f9c380d8b786c5c9e.tar.gz bcm5719-llvm-c85d0aaa2a6db5e71dddd76f9c380d8b786c5c9e.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions