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

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 14:44:44 PST 2024


================
@@ -399,6 +399,9 @@ Moved checkers
 Sanitizers
 ----------
 
+- ``-fsanitize=signed-integer-overflow`` now instruments signed arithmetic even
+  when ``-fwrapv`` is enabled. Previously, only division checks were enabled.
----------------
vitalybuka wrote:

It should work, it's about release note
As a hint if users who had `-fsanitize=undefined -fwrapv` and not they suddenly see reports.

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


More information about the cfe-commits mailing list