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

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 4 15:35:48 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:

drop braces for single-line simple statement

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


More information about the cfe-commits mailing list