[PATCH] D12236: [compiler-rt] [asan] Enable DFSan for AArch64/42-bit VMA

Renato Golin via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 11:29:44 PDT 2015


rengolin added inline comments.

================
Comment at: lib/dfsan/dfsan.h:52
@@ -51,2 +51,3 @@
 #elif defined(__aarch64__)
+# if SANITIZER_AARCH64_VMA == 39
   return (dfsan_label *) ((((uptr) ptr) & ~0x7800000000) << 1);
----------------
Do you need the same trick with defining it to 39 when undef? Or is this getting from the same header as the other sans?


http://reviews.llvm.org/D12236





More information about the llvm-commits mailing list