File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1032,7 +1032,8 @@ void EmitAssemblyHelper::RunOptimizationPipeline(
10321032 static_assert (SanitizerKind::SO_LocalBounds <=
10331033 std::numeric_limits<
10341034 decltype (Options.GuardKind )::value_type>::max (),
1035- " Update type of llvm.allow.ubsan.check." );
1035+ " Update type of llvm.allow.ubsan.check to represent "
1036+ " SanitizerKind::SO_LocalBounds." );
10361037 Options.GuardKind = SanitizerKind::SO_LocalBounds;
10371038 }
10381039 Options.Merge =
Original file line number Diff line number Diff line change @@ -1320,7 +1320,7 @@ parseBoundsCheckingOptions(StringRef Params) {
13201320 StringRef ParamEQ;
13211321 StringRef Val;
13221322 std::tie (ParamEQ, Val) = ParamName.split (' =' );
1323- int8_t Id = 0 ;
1323+ int8_t Id;
13241324 if (ParamEQ == " guard" && !Val.getAsInteger (0 , Id)) {
13251325 Options.GuardKind = Id;
13261326 } else {
You can’t perform that action at this time.
0 commit comments