[clang] [clang][rtsan] Introduce realtime sanitizer codegen and driver (PR #102622)

Chris Apple via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 18 19:59:46 PDT 2024


================
@@ -995,6 +996,13 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
             FPM.addPass(BoundsCheckingPass());
           });
 
+    if (LangOpts.Sanitize.has(SanitizerKind::Realtime))
+      PB.registerScalarOptimizerLateEPCallback(
----------------
cjappl wrote:

Thanks Vitaly! Helpful explanation 

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


More information about the cfe-commits mailing list