[clang] [compiler-rt] [Sanitizer] add signed-integer-wrap sanitizer (PR #80089)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 00:02:07 PST 2024
MaskRay wrote:
> GCC folks have not answered. Adding -wrap keeps the behavior for -overflow the same between GCC and Clang. Can we please move this forward and land it as is? We can trivially change this in the future if we need to.
I believe we can move forward by reusing `-fsanitize=signed-integer-overflow`, which adds least complexity to Clang and is very reasonable.
https://github.com/llvm/llvm-project/pull/80089
More information about the llvm-commits
mailing list