[clang] [llvm] [Clang][Sanitizers] Add numerical sanitizer (PR #93783)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 15:36:46 PDT 2024


================
@@ -826,6 +826,10 @@ SanitizerMask Linux::getSupportedSanitizers() const {
   if (IsX86_64 || IsAArch64) {
     Res |= SanitizerKind::KernelHWAddress;
   }
+  if (IsX86_64) {
+    Res |= SanitizerKind::NumericalStability;
----------------
MaskRay wrote:

This needs a `fsanitize-*.c` clang/test/Driver test

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


More information about the cfe-commits mailing list