File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -799,7 +799,8 @@ static void addSanitizers(const Triple &TargetTriple,
799799 // Is there a non-zero cutoff?
800800 static constexpr double SanitizerMaskCutoffsEps = 0 .000000001f ;
801801 for (unsigned int i = 0 ; i < SanitizerKind::SO_Count; ++i) {
802- lowerAllowCheck |= (CodeGenOpts.SanitizeSkipHotCutoffs [i].value_or (0 ) > SanitizerMaskCutoffsEps);
802+ lowerAllowCheck |= (CodeGenOpts.SanitizeSkipHotCutoffs [i].value_or (0 ) >
803+ SanitizerMaskCutoffsEps);
803804 }
804805
805806 if (lowerAllowCheck) {
@@ -813,7 +814,8 @@ static void addSanitizers(const Triple &TargetTriple,
813814 // Opts.cutoffs: ints with range [0, 1000000]
814815 static_assert (static_cast <int >(SanitizerMaskCutoffsEps * 1000000 ) == 0 );
815816 for (unsigned int i = 0 ; i < SanitizerKind::SO_Count; ++i) {
816- Opts.cutoffs .push_back (CodeGenOpts.SanitizeSkipHotCutoffs [i].value_or (0 ) * 1000000 );
817+ Opts.cutoffs .push_back (
818+ CodeGenOpts.SanitizeSkipHotCutoffs [i].value_or (0 ) * 1000000 );
817819 }
818820
819821 MPM.addPass (createModuleToFunctionPassAdaptor (LowerAllowCheckPass (Opts)));
You can’t perform that action at this time.
0 commit comments