Module Name: src Committed By: kamil Date: Tue Aug 27 22:48:55 UTC 2019
Modified Files: src: Makefile src/common/lib/libc/gmon: mcount.c src/distrib/sets/lists/base: mi src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64: Makefile src/external/bsd/fetch/lib: Makefile src/external/gpl2/lvm2: lvm2tools.mk src/lib/libc/gen: sysctlgetmibinfo.c src/share/mk: Makefile bsd.lib.mk bsd.prog.mk src/tests/lib/libc/net: Makefile Added Files: src/share/mk: bsd.sanitizer.mk Log Message: Enhance the support of LLVM sanitizers Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio code. This caused new build issued with duplicated symbols in few places and rump kernel code picking different code paths borrowed from libc. Handle all this in one go. Add bsd.sanitizer.mk to share common code used by programs and libraries. Switch from realall to beforeinstall target in .syms files. This is more reliable in MKSANITIZER. To generate a diff of this commit: cvs rdiff -u -r1.330 -r1.331 src/Makefile cvs rdiff -u -r1.13 -r1.14 src/common/lib/libc/gmon/mcount.c cvs rdiff -u -r1.1212 -r1.1213 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan_cxx-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/msan_cxx-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/tsan_cxx-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_minimal-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone-m64/Makefile cvs rdiff -u -r1.2 -r1.3 \ src/external/bsd/compiler_rt/lib/clang/lib/netbsd/ubsan_standalone_cxx-m64/Makefile cvs rdiff -u -r1.11 -r1.12 src/external/bsd/fetch/lib/Makefile cvs rdiff -u -r1.4 -r1.5 src/external/gpl2/lvm2/lvm2tools.mk cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gen/sysctlgetmibinfo.c cvs rdiff -u -r1.50 -r1.51 src/share/mk/Makefile cvs rdiff -u -r1.379 -r1.380 src/share/mk/bsd.lib.mk cvs rdiff -u -r1.322 -r1.323 src/share/mk/bsd.prog.mk cvs rdiff -u -r0 -r1.1 src/share/mk/bsd.sanitizer.mk cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libc/net/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.