Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Disable KCOV instrumentation in x86_machdep.c
details: https://anonhg.NetBSD.org/src/rev/cd5cdfd3900d
branches: trunk
changeset: 846794:cd5cdfd3900d
user: kamil <kamil%NetBSD.org@localhost>
date: Sun Dec 01 17:25:47 2019 +0000
description:
Disable KCOV instrumentation in x86_machdep.c
This allows to use cpu_intr_p() directly inside KCOV.
diffstat:
share/mk/bsd.sys.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 3cabd1da0c60 -r cd5cdfd3900d share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Sun Dec 01 17:08:31 2019 +0000
+++ b/share/mk/bsd.sys.mk Sun Dec 01 17:25:47 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.296 2019/11/15 09:44:44 maxv Exp $
+# $NetBSD: bsd.sys.mk,v 1.297 2019/12/01 17:25:47 kamil Exp $
#
# Build definitions used for NetBSD source tree builds.
@@ -247,7 +247,8 @@
.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
+ subr_csan.c subr_msan.c x86_machdep.c
+# TODO Adapt the file list for !x86 or implement __nocov (missing in GCC 8)
KCOVFLAGS.${f}= # empty
.endfor
CFLAGS+= ${KCOVFLAGS.${.IMPSRC:T}:U${KCOVFLAGS}}
Home |
Main Index |
Thread Index |
Old Index