HomeFreeBSD

kmsan: Set -fno-sanitize-memory-param-retval for now

Description

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.

Approved by: re (gjb)
MFC after: 3 days
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

(cherry picked from commit b6c653c9746342b373af01979319b3cb123b2872)
(cherry picked from commit c89523d1c4be8f3408fb591261f3093b65dbb675)

Details

Provenance
markjAuthored on Oct 16 2023, 7:45 PM
Parents
rGf5951b13246a: teken: fix style in teken_wcwidth.h
Branches
Unknown
Tags
Unknown