[clang] Sanitizer: Support -fwrapv with -fsanitize=signed-integer-overflow (PR #82432)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 8 09:49:36 PST 2024


nikic wrote:

Shouldn't plain `-fsanitize=undefined` disable this sanitizer by default (requiring explicit opt-in)? In `-fwrapv` mode this is not undefined behavior, so `-fsanitize=undefined`  should not complain about it.

https://github.com/llvm/llvm-project/pull/82432


More information about the cfe-commits mailing list