projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
687933f
)
[lsan] disable lsan if wordsize is not 64
author
Kostya Serebryany
<kcc@google.com>
Wed, 21 May 2014 08:30:18 +0000
(08:30 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Wed, 21 May 2014 08:30:18 +0000
(08:30 +0000)
llvm-svn: 209283
compiler-rt/lib/lsan/lsan_common.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/lsan/lsan_common.h
b/compiler-rt/lib/lsan/lsan_common.h
index
eacff66
..
c0f12e6
100644
(file)
--- a/
compiler-rt/lib/lsan/lsan_common.h
+++ b/
compiler-rt/lib/lsan/lsan_common.h
@@
-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