Source-Changes-HG archive

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

[src/trunk]: src Ship with sanitizer/lsan_interface.h for LLVM 7



details:   https://anonhg.NetBSD.org/src/rev/690cbd0e81e5
branches:  trunk
changeset: 453525:690cbd0e81e5
user:      kamil <kamil%NetBSD.org@localhost>
date:      Thu Aug 15 16:31:17 2019 +0000

description:
Ship with sanitizer/lsan_interface.h for LLVM 7

Leak Sanitizer header is already needed in the distribution for built with
Address Sanitizer (MKSANITIZER):

 - dist/llvm/utils/TableGen/TableGen.cpp
 - dist/clang/utils/TableGen/TableGen.cpp

Next version of LLVM (9.0) will ship with LSan.

diffstat:

 distrib/sets/lists/comp/mi                                    |  3 ++-
 external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile |  4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r d9286958eec6 -r 690cbd0e81e5 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Thu Aug 15 16:01:27 2019 +0000
+++ b/distrib/sets/lists/comp/mi        Thu Aug 15 16:31:17 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.2281 2019/08/15 16:01:27 kamil Exp $
+#      $NetBSD: mi,v 1.2282 2019/08/15 16:31:17 kamil Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 ./etc/mtree/set.comp                           comp-sys-root
@@ -3302,6 +3302,7 @@
 ./usr/lib/clang/7.0.0/include/sanitizer/asan_interface.h       comp-cxx-include                llvm
 ./usr/lib/clang/7.0.0/include/sanitizer/common_interface_defs.h        comp-cxx-include                llvm
 ./usr/lib/clang/7.0.0/include/sanitizer/coverage_interface.h   comp-cxx-include                llvm
+./usr/lib/clang/7.0.0/include/sanitizer/lsan_interface.h       comp-cxx-include                llvm
 ./usr/lib/clang/7.0.0/include/sanitizer/msan_interface.h       comp-cxx-include                llvm
 ./usr/lib/clang/7.0.0/include/sanitizer/netbsd_syscall_hooks.h comp-cxx-include                llvm
 ./usr/lib/clang/7.0.0/include/sanitizer/tsan_interface.h       comp-cxx-include                llvm
diff -r d9286958eec6 -r 690cbd0e81e5 external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile
--- a/external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile     Thu Aug 15 16:01:27 2019 +0000
+++ b/external/bsd/compiler_rt/lib/clang/include/sanitizer/Makefile     Thu Aug 15 16:31:17 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2019/08/08 14:00:28 kamil Exp $
+#      $NetBSD: Makefile,v 1.2 2019/08/15 16:31:17 kamil Exp $
 
 TOPDIR=        ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -13,7 +13,7 @@
 #INCS+=        dfsan_interface.h # not supported
 #INCS+=        esan_interface.h # not supported
 #INCS+=        hwasan_interface.h # not supported
-#INCS+=        lsan_interface.h # not supported
+INCS+= lsan_interface.h
 INCS+= msan_interface.h
 INCS+= netbsd_syscall_hooks.h
 #INCS+=        scudo_interface.h # not ready



Home | Main Index | Thread Index | Old Index