Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/lsan don't claim lsan su...



details:   https://anonhg.NetBSD.org/src/rev/60692d86d6ee
branches:  trunk
changeset: 841604:60692d86d6ee
user:      maya <maya%NetBSD.org@localhost>
date:      Sat May 25 13:54:37 2019 +0000

description:
don't claim lsan support on netbsd.

PR toolchain/54226: address sanitizer doesn't work

diffstat:

 external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7de32389cdac -r 60692d86d6ee external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h
--- a/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h    Sat May 25 12:14:28 2019 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/lsan/lsan_common.h    Sat May 25 13:54:37 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index