[clang] [llvm] Remove -bounds-checking-unique-traps (replace with -fno-sanitize-merge=local-bounds) (PR #120682)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 20 09:45:47 PST 2024


================
@@ -1208,6 +1202,11 @@ Sanitizers
 
 - Implemented ``-f[no-]sanitize-trap=local-bounds``, and ``-f[no-]sanitize-recover=local-bounds``.
 
+- ``-fsanitize-merge`` (default) and ``-fno-sanitize-merge`` have been added for
+  fine-grained, unified control of which UBSan checks can potentially be merged
+  by the compiler (for example,
----------------
vitalybuka wrote:

Please mention on  https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#stack-traces-and-report-symbolization as well

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


More information about the cfe-commits mailing list