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

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 19 08:13:45 PDT 2016


dvyukov accepted this revision.
dvyukov added a comment.
This revision is now accepted and ready to land.

LGMT with a nit


================
Comment at: lib/tsan/rtl/tsan_platform_linux.cc:296
@@ +295,3 @@
+#if defined(__aarch64__)
+    int old_personality = personality(0xffffffff);
+    if (old_personality != -1 && (old_personality & ADDR_NO_RANDOMIZE) == 0) {
----------------
Please leave a short comment here for next generations as to why we are doing this and name/hash of the kernel commit.


http://reviews.llvm.org/D18003





More information about the llvm-commits mailing list