Source-Changes-HG archive

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

[src/trunk]: src/share/mk Don't add KCOV instrumentation on top of the KUBSAN...



details:   https://anonhg.NetBSD.org/src/rev/18a5796252cf
branches:  trunk
changeset: 932777:18a5796252cf
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri May 15 19:07:01 2020 +0000

description:
Don't add KCOV instrumentation on top of the KUBSAN instrumentation,
this is useless and too bloated.

diffstat:

 share/mk/bsd.sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 28d760055fac -r 18a5796252cf share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Fri May 15 18:45:08 2020 +0000
+++ b/share/mk/bsd.sys.mk       Fri May 15 19:07:01 2020 +0000
@@ -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 @@
 
 .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}}



Home | Main Index | Thread Index | Old Index