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.

Details

Provenance
markjAuthored on Oct 16 2023, 7:45 PM
Parents
rGe5caed14067b: kmsan: Use __builtin_memset to initialize per-thread state
Branches
Unknown
Tags
Unknown