diff options
author | Mark Johnston <markj@FreeBSD.org> | 2023-10-16 19:45:42 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2023-10-17 13:05:45 +0000 |
commit | b6c653c9746342b373af01979319b3cb123b2872 (patch) | |
tree | 45211d0af493d9723b55cc446dd9c29bb2fe68d4 /sys/conf/files | |
parent | e5caed14067b40f1454d74e99789a28508d0eea3 (diff) | |
download | src-b6c653c9746342b373af01979319b3cb123b2872.tar.gz src-b6c653c9746342b373af01979319b3cb123b2872.zip |
kmsan: Set -fno-sanitize-memory-param-retval for now
As of LLVM 16, -fsanitize-memory-param-retval is the default. It yields
significantly smaller code, but the KMSAN runtime interceptors need to
be updated to stop checking shadow state of parameters. Apply a minimal
workaround for now.
MFC after: 3 days
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.
Diffstat (limited to 'sys/conf/files')
-rw-r--r-- | sys/conf/files | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files b/sys/conf/files index dc837eb02c06..8c3bdca61905 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -3872,7 +3872,7 @@ kern/subr_mchain.c optional libmchain kern/subr_memdesc.c standard kern/subr_module.c standard kern/subr_msan.c optional kmsan \ - compile-with "${NORMAL_C:N-fsanitize*:N-fstack-protector*}" + compile-with "${NORMAL_C:N-fsanitize*:N-fno-sanitize*:N-fstack-protector*}" kern/subr_msgbuf.c standard kern/subr_param.c standard kern/subr_pcpu.c standard |