File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
740740 options::OPT_fno_sanitize_merge_handlers_EQ);
741741 MergeKinds &= Kinds;
742742
743- // Parse -fno-sanitize-top -hot flags
743+ // Parse -fno-fsanitize-skip -hot-cutoff flags
744744 SkipHotCutoffs = parseSanitizeSkipHotCutoffArgs (D, Args, DiagnoseErrors);
745745
746746 // Parse -f(no-)?sanitize-annotate-debug-info flags
Original file line number Diff line number Diff line change 12841284// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff=undefined=xyzzy %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF8
12851285// CHECK-SKIP-HOT-CUTOFF8: unsupported argument 'undefined=xyzzy' to option '-fsanitize-skip-hot-cutoff='
12861286
1287- // Invalid: -fno-sanitize-top without parameters
1287+ // Invalid: -fsanitize-skip-hot-cutoff without parameters
12881288// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF9
12891289// CHECK-SKIP-HOT-CUTOFF9: unknown argument: '-fsanitize-skip-hot-cutoff'
12901290
1291- // Invalid: -fno-sanitize-top =undefined without cutoff
1291+ // Invalid: -fsanitize-skip-hot-cutoff =undefined without cutoff
12921292// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff=undefined %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF10
12931293// CHECK-SKIP-HOT-CUTOFF10: unsupported argument 'undefined' to option '-fsanitize-skip-hot-cutoff='
12941294
1295- // Invalid: -fno-sanitize-top =undefined= without cutoff
1295+ // Invalid: -fsanitize-skip-hot-cutoff =undefined= without cutoff
12961296// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff=undefined= %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF11
12971297// CHECK-SKIP-HOT-CUTOFF11: unsupported argument 'undefined=' to option '-fsanitize-skip-hot-cutoff='
12981298
1299- // No-op: -fno-sanitize-top = without parameters is unusual but valid
1299+ // No-op: -fsanitize-skip-hot-cutoff = without parameters is unusual but valid
13001300// RUN: %clang -Werror --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff= %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF12
13011301// CHECK-SKIP-HOT-CUTOFF12-NOT: "-fsanitize-skip-hot-cutoff"
You can’t perform that action at this time.
0 commit comments