[clang] [Clang] Enable nsan instrumentation pass (PR #97359)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 1 17:09:38 PDT 2024
================
@@ -707,6 +708,9 @@ static void addSanitizers(const Triple &TargetTriple,
MPM.addPass(createModuleToFunctionPassAdaptor(ThreadSanitizerPass()));
}
+ if (LangOpts.Sanitize.has(SanitizerKind::NumericalStability))
+ MPM.addPass(NumericalStabilitySanitizerPass());
----------------
vitalybuka wrote:
you may want late to introduce post-instrumentations as on line 693 of msan
https://github.com/llvm/llvm-project/pull/97359
More information about the cfe-commits
mailing list