[PATCH] D13669: [sanitizer] [lsan] Add support for AArch64

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 13 11:15:15 PDT 2015


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

LGTM


================
Comment at: lib/lsan/lsan_common.h:25
@@ -24,3 +24,3 @@
 
-#if SANITIZER_LINUX && (defined(__x86_64__) || defined(__mips64)) \
-    && (SANITIZER_WORDSIZE == 64)
+#if (SANITIZER_LINUX && !SANITIZER_ANDROID) && (SANITIZER_WORDSIZE == 64) \
+     && (defined(__x86_64__) ||  defined(__mips64) ||  defined(__aarch64__))
----------------
Remove all braces on this line (25).



http://reviews.llvm.org/D13669





More information about the llvm-commits mailing list