diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2019-02-11 15:38:05 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2019-02-11 15:38:05 +0000 |
commit | 74a083d6c718bf7f7eacf4a83578dcb3dd3de5bb (patch) | |
tree | a3b3f5101e4b0bf6608f5c53ea01592b5b088da7 | |
parent | 66bddb4c701f48bcb12df01e872eb6bcba08443a (diff) | |
download | src-74a083d6c718bf7f7eacf4a83578dcb3dd3de5bb.tar.gz src-74a083d6c718bf7f7eacf4a83578dcb3dd3de5bb.zip |
Fix flags used when compiling kern_kcov.c and subr_coverage.c.
Without this fix, the usage of kernel coverage would lockup the system.
Thanks to Andrew for suggesting the final form of the fix.
PR: 235611
Reviewed by: andrew@, emaste@
Differential Revision: https://reviews.freebsd.org/D19135
Notes
Notes:
svn path=/head/; revision=344012
-rw-r--r-- | sys/conf/files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files index d3c2c0324135..74cabfb486fb 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3808,7 +3808,7 @@ kern/kern_idle.c standard kern/kern_intr.c standard kern/kern_jail.c standard kern/kern_kcov.c optional kcov \ - compile-with "${NORMAL_C} -fno-sanitize=all" + compile-with "${NORMAL_C:N-fsanitize*}" kern/kern_khelp.c standard kern/kern_kthread.c standard kern/kern_ktr.c optional ktr @@ -3884,7 +3884,7 @@ kern/subr_clock.c standard kern/subr_compressor.c standard \ compile-with "${NORMAL_C} -I$S/contrib/zstd/lib/freebsd" kern/subr_coverage.c optional coverage \ - compile-with "${NORMAL_C} -fno-sanitize=all" + compile-with "${NORMAL_C:N-fsanitize*}" kern/subr_counter.c standard kern/subr_devstat.c standard kern/subr_disk.c standard |