Source-Changes-HG archive

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

[src/trunk]: src KCOV doesn't depend on specificdata and cpu_intr_p() anymore...



details:   https://anonhg.NetBSD.org/src/rev/d7c66a0d67a8
branches:  trunk
changeset: 1008819:d7c66a0d67a8
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Apr 04 07:03:57 2020 +0000

description:
KCOV doesn't depend on specificdata and cpu_intr_p() anymore, so drop
references.

diffstat:

 share/mk/bsd.sys.mk                |  6 ++----
 sys/arch/amd64/conf/Makefile.amd64 |  7 +++----
 2 files changed, 5 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r a01861b7c1ba -r d7c66a0d67a8 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sat Apr 04 06:51:46 2020 +0000
+++ b/share/mk/bsd.sys.mk       Sat Apr 04 07:03:57 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.299 2020/02/08 07:07:06 maxv Exp $
+#      $NetBSD: bsd.sys.mk,v 1.300 2020/04/04 07:03:57 maxv Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -238,9 +238,7 @@
 
 .if ${KCOV:U0} > 0
 KCOVFLAGS=     -fsanitize-coverage=trace-pc
-.for f in subr_kcov.c subr_lwp_specificdata.c subr_specificdata.c subr_asan.c \
-       subr_csan.c subr_msan.c x86_machdep.c
-# TODO Adapt the file list for !x86 or implement __nocov (missing in GCC 8)
+.for f in subr_kcov.c subr_asan.c subr_csan.c subr_msan.c
 KCOVFLAGS.${f}=                # empty
 .endfor
 CFLAGS+=       ${KCOVFLAGS.${.IMPSRC:T}:U${KCOVFLAGS}}
diff -r a01861b7c1ba -r d7c66a0d67a8 sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Sat Apr 04 06:51:46 2020 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Sat Apr 04 07:03:57 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.81 2020/04/03 18:12:39 maxv Exp $
+#      $NetBSD: Makefile.amd64,v 1.82 2020/04/04 07:03:57 maxv Exp $
 
 # Makefile for NetBSD
 #
@@ -55,7 +55,7 @@
                --param asan-instrument-allocas=1 \
                -fsanitize-address-use-after-scope \
                -fasan-shadow-offset=0xDFFF900000000000
-.for f in subr_asan.c subr_kcov.c subr_lwp_specificdata.c subr_specificdata.c
+.for f in subr_asan.c subr_kcov.c
 KASANFLAGS.${f}=       # empty
 .endfor
 CFLAGS+=       ${KASANFLAGS.${.IMPSRC:T}:U${KASANFLAGS}}
@@ -63,8 +63,7 @@
 
 .if ${KCSAN:U0} > 0 && ${HAVE_GCC:U0} > 0
 KCSANFLAGS=    -fsanitize=thread
-.for f in subr_csan.c clock.c lapic.c subr_kcov.c subr_lwp_specificdata.c \
-       subr_specificdata.c
+.for f in subr_csan.c subr_kcov.c clock.c lapic.c
 KCSANFLAGS.${f}=       # empty
 .endfor
 CFLAGS+=       ${KCSANFLAGS.${.IMPSRC:T}:U${KCSANFLAGS}}



Home | Main Index | Thread Index | Old Index