[asan] Remove special case mapping on Android/AArch64.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 29 Jul 2015 18:22:25 +0000 (18:22 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 29 Jul 2015 18:22:25 +0000 (18:22 +0000)
commit8ad735a538bda0ca42a18d4e6917d54e6dedb290
tree56549e4aff2ca33bbf3d1b7d550ebb251f3448cf
parent63aeece879b66c9fd1c401811d2bc92e94c14615
[asan] Remove special case mapping on Android/AArch64.

ASan shadow on Android starts at address 0 for both historic and
performance reasons. This is possible because the platform mandates
-pie, which makes lower memory region always available.

This is not such a good idea on 64-bit platforms because of MAP_32BIT
incompatibility.

This patch changes Android/AArch64 mapping to be the same as that of
Linux/AAarch64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243548 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp