[clang] [Clang] add wraps and no_wraps attributes (PR #115094)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 12 19:54:26 PST 2024
vitalybuka wrote:
Naming wise I prefer `wrap` -> `no_sanitize("undefined")` already exists but does not apply to variables and types
`no_wrap` -> `sanitize("undefined")` does not exist, and a little confusing (no_wrap as well). It may look it enabled sanitization.
Would it make sense to support attributes like `__attribute__((no_sanitize("-undefined")))` ? Seems like better representation of the fact that we want to undo sanitizer suppression. @erichkeane WDYT
https://github.com/llvm/llvm-project/pull/115094
More information about the cfe-commits
mailing list