Module Name: src
Committed By: maxv
Date: Fri May 15 19:07:01 UTC 2020
Modified Files:
src/share/mk: bsd.sys.mk
Log Message:
Don't add KCOV instrumentation on top of the KUBSAN instrumentation,
this is useless and too bloated.
To generate a diff of this commit:
cvs rdiff -u -r1.300 -r1.301 src/share/mk/bsd.sys.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.300 src/share/mk/bsd.sys.mk:1.301
--- src/share/mk/bsd.sys.mk:1.300 Sat Apr 4 07:03:57 2020
+++ src/share/mk/bsd.sys.mk Fri May 15 19:07:01 2020
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.300 2020/04/04 07:03:57 maxv Exp $
+# $NetBSD: bsd.sys.mk,v 1.301 2020/05/15 19:07:01 maxv Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -238,7 +238,7 @@ AFLAGS+= ${CPUFLAGS}
.if ${KCOV:U0} > 0
KCOVFLAGS= -fsanitize-coverage=trace-pc
-.for f in subr_kcov.c subr_asan.c subr_csan.c subr_msan.c
+.for f in subr_kcov.c subr_asan.c subr_csan.c subr_msan.c ubsan.c
KCOVFLAGS.${f}= # empty
.endfor
CFLAGS+= ${KCOVFLAGS.${.IMPSRC:T}:U${KCOVFLAGS}}