[PATCH] D18003: [tsan] Disable randomized address space on linux aarch64.

Yabin Cui via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 18:15:10 PDT 2016

yabinc added inline comments.

Comment at: lib/tsan/rtl/tsan_platform_linux.cc:298
@@ +297,3 @@
+    // from 128M to 36G on 39-bit aarch64. As it is almost impossible to cover
+    // this big range, we should disable randomized virtual space on aarch64.
+#if defined(__aarch64__)
rengolin wrote:
> Just making sure I got it right: this should work on all kernels, right?
yes. personality(ADDR_NO_RANDOMIZE) exists before the git history of linux kernel, and this option is not architecture specific.


More information about the llvm-commits mailing list