[compiler-rt] fbf7cce - [LSAN] Fix compilation error on MSVC
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 22:33:27 PST 2020
Author: Vitaly Buka
Date: 2020-11-04T22:32:49-08:00
New Revision: fbf7ccec02f3401d0ac71c15208c431bdafbc117
URL: https://github.com/llvm/llvm-project/commit/fbf7ccec02f3401d0ac71c15208c431bdafbc117
DIFF: https://github.com/llvm/llvm-project/commit/fbf7ccec02f3401d0ac71c15208c431bdafbc117.diff
LOG: [LSAN] Fix compilation error on MSVC
Added:
Modified:
compiler-rt/lib/lsan/lsan_common.h
Removed:
################################################################################
diff --git a/compiler-rt/lib/lsan/lsan_common.h b/compiler-rt/lib/lsan/lsan_common.h
index a26a8b37aa0b..82323746a096 100644
--- a/compiler-rt/lib/lsan/lsan_common.h
+++ b/compiler-rt/lib/lsan/lsan_common.h
@@ -39,7 +39,7 @@
#define CAN_SANITIZE_LEAKS 1
#elif defined(__i386__) && (SANITIZER_LINUX || SANITIZER_MAC)
#define CAN_SANITIZE_LEAKS 1
-#elif defined(__arm__) && SANITIZER_LINUX &&
+#elif defined(__arm__) && SANITIZER_LINUX
#define CAN_SANITIZE_LEAKS 1
#elif SANITIZER_NETBSD || SANITIZER_FUCHSIA
#define CAN_SANITIZE_LEAKS 1
More information about the llvm-commits
mailing list