[compiler-rt] r209283 - [lsan] disable lsan if wordsize is not 64
Kostya Serebryany
kcc at google.com
Wed May 21 01:30:18 PDT 2014
Author: kcc
Date: Wed May 21 03:30:18 2014
New Revision: 209283
URL: http://llvm.org/viewvc/llvm-project?rev=209283&view=rev
Log:
[lsan] disable lsan if wordsize is not 64
Modified:
compiler-rt/trunk/lib/lsan/lsan_common.h
Modified: compiler-rt/trunk/lib/lsan/lsan_common.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_common.h?rev=209283&r1=209282&r2=209283&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common.h (original)
+++ compiler-rt/trunk/lib/lsan/lsan_common.h Wed May 21 03:30:18 2014
@@ -21,7 +21,7 @@
#include "sanitizer_common/sanitizer_platform.h"
#include "sanitizer_common/sanitizer_symbolizer.h"
-#if SANITIZER_LINUX && defined(__x86_64__)
+#if SANITIZER_LINUX && defined(__x86_64__) && (SANITIZER_WORDSIZE == 64)
#define CAN_SANITIZE_LEAKS 1
#else
#define CAN_SANITIZE_LEAKS 0
More information about the llvm-commits
mailing list