File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -738,6 +738,9 @@ static void addSanitizers(const Triple &TargetTriple,
738
738
if (LangOpts.Sanitize .has (SanitizerKind::NumericalStability))
739
739
MPM.addPass (NumericalStabilitySanitizerPass ());
740
740
741
+ if (LangOpts.Sanitize .has (SanitizerKind::Realtime))
742
+ MPM.addPass (RealtimeSanitizerPass ());
743
+
741
744
auto ASanPass = [&](SanitizerMask Mask, bool CompileKernel) {
742
745
if (LangOpts.Sanitize .has (Mask)) {
743
746
bool UseGlobalGC = asanUseGlobalsGC (TargetTriple, CodeGenOpts);
@@ -1023,9 +1026,6 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
1023
1026
FPM.addPass (BoundsCheckingPass ());
1024
1027
});
1025
1028
1026
- if (LangOpts.Sanitize .has (SanitizerKind::Realtime))
1027
- MPM.addPass (RealtimeSanitizerPass ());
1028
-
1029
1029
// Don't add sanitizers if we are here from ThinLTO PostLink. That already
1030
1030
// done on PreLink stage.
1031
1031
if (!IsThinLTOPostLink) {
You can’t perform that action at this time.
0 commit comments