diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-12-21 19:27:57 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2015-12-21 19:27:57 +0000 |
commit | b2910ea67e4d796cbed535edee114882691aba55 (patch) | |
tree | 3f9f2d82a91e3c71004fb4cc04901c6de34f143e /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 5d9acc244397e4452782edafc09729b0fb133bac (diff) | |
download | bcm5719-llvm-b2910ea67e4d796cbed535edee114882691aba55.tar.gz bcm5719-llvm-b2910ea67e4d796cbed535edee114882691aba55.zip |
[compiler-rt] [tsan] Add support for PIE build on AArch64
This patch adds PIE executable support for aarch64-linux. It adds
two more segments:
- 0x05500000000-0x05600000000: 39-bits PIE program segments
- 0x2aa00000000-0x2ab00000000: 42-bits PIE program segments
Fortunately it is possible to use the same transformation formula for
the new segments range with some adjustments in shadow to memory
formula (it adds a constant offset based on the VMA size).
A simple testcase is also added, however it is disabled on x86 due the
fact it might fail on newer kernels [1].
[1] https://git.kernel.org/linus/d1fd836dcf00d2028c700c7e44d2c23404062c90
llvm-svn: 256184
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions