Module Name:    src
Committed By:   maya
Date:           Sat May 25 13:54:37 UTC 2019

Modified Files:
        src/external/gpl3/gcc/dist/libsanitizer/lsan: lsan_common.h

Log Message:
don't claim lsan support on netbsd.

PR toolchain/54226: address sanitizer doesn't work


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h
diff -u src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h:1.3 src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h:1.4
--- src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h:1.3	Sat Jan 19 12:10:11 2019
+++ src/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h	Sat May 25 13:54:37 2019
@@ -20,7 +20,7 @@
 #include "sanitizer_common/sanitizer_stoptheworld.h"
 #include "sanitizer_common/sanitizer_symbolizer.h"
 
-#if (SANITIZER_NETBSD || SANITIZER_LINUX) && !SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 64) \
+#if (SANITIZER_LINUX) && !SANITIZER_ANDROID && (SANITIZER_WORDSIZE == 64) \
      && (defined(__x86_64__) ||  defined(__mips64) ||  defined(__aarch64__))
 #define CAN_SANITIZE_LEAKS 1
 #else

Reply via email to