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

Justin Stitt via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 20 14:50:08 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.
----------------
JustinStitt wrote:

Gotcha, resolved with [0182698](https://github.com/llvm/llvm-project/pull/82432/commits/018269881647673b530b8cb4611c7a380a5a1b5c). Let me know if this is detailed enough 😄 

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


More information about the cfe-commits mailing list