================ @@ -995,6 +996,13 @@ void EmitAssemblyHelper::RunOptimizationPipeline( FPM.addPass(BoundsCheckingPass()); }); + if (LangOpts.Sanitize.has(SanitizerKind::Realtime)) + PB.registerScalarOptimizerLateEPCallback( ---------------- cjappl wrote:
I am completely not sure where in the pipeline this pass should live. Any advice from someone with more experience would be great. This was chosen to match other passes of sanitizers around it. https://github.com/llvm/llvm-project/pull/102622 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits