[PowerPC]Disable randomized address space on Linux ppc64le
authorLei Huang <lei@ca.ibm.com>
Fri, 2 Nov 2018 19:00:23 +0000 (19:00 +0000)
committerLei Huang <lei@ca.ibm.com>
Fri, 2 Nov 2018 19:00:23 +0000 (19:00 +0000)
commit78f7a6eaa601bfdd6ae70ffd3da2254c21ff77f9
tree27ac9ade763ca1ba02029e195cd7b5d41baa98af
parent5b023e07eafe1c358b02b2ae0bf88bcaadceaf60
[PowerPC]Disable randomized address space on Linux ppc64le

Recent versions of Ubuntu (17.04 and 18.04) on PowerPC have introduced changes
to Address Space Layout Randomization (ASLR) that is causing 500+ sanitizer
failures. This patch disables ASLR when running the sanitizers on PowerPC 64bit
LE.

Differential Revision: https://reviews.llvm.org/D52900

llvm-svn: 346030
compiler-rt/lib/sanitizer_common/sanitizer_linux.cc