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.

MFC after: 3 days
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.

(cherry picked from commit b6c653c9746342b373af01979319b3cb123b2872)

Details

Provenance
markjAuthored on Oct 16 2023, 7:45 PM
Parents
rG1c02fbf2305a: arm64, risvc: warn about ignored kstack_pages for thread0
Branches
Unknown
Tags
Unknown