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,
740
740
options::OPT_fno_sanitize_merge_handlers_EQ);
741
741
MergeKinds &= Kinds;
742
742
743
- // Parse -fno-sanitize-top -hot flags
743
+ // Parse -fno-fsanitize-skip -hot-cutoff flags
744
744
SkipHotCutoffs = parseSanitizeSkipHotCutoffArgs (D, Args, DiagnoseErrors);
745
745
746
746
// Parse -f(no-)?sanitize-annotate-debug-info flags
Original file line number Diff line number Diff line change 1284
1284
// 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
1285
1285
// CHECK-SKIP-HOT-CUTOFF8: unsupported argument 'undefined=xyzzy' to option '-fsanitize-skip-hot-cutoff='
1286
1286
1287
- // Invalid: -fno-sanitize-top without parameters
1287
+ // Invalid: -fsanitize-skip-hot-cutoff without parameters
1288
1288
// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF9
1289
1289
// CHECK-SKIP-HOT-CUTOFF9: unknown argument: '-fsanitize-skip-hot-cutoff'
1290
1290
1291
- // Invalid: -fno-sanitize-top =undefined without cutoff
1291
+ // Invalid: -fsanitize-skip-hot-cutoff =undefined without cutoff
1292
1292
// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff=undefined %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF10
1293
1293
// CHECK-SKIP-HOT-CUTOFF10: unsupported argument 'undefined' to option '-fsanitize-skip-hot-cutoff='
1294
1294
1295
- // Invalid: -fno-sanitize-top =undefined= without cutoff
1295
+ // Invalid: -fsanitize-skip-hot-cutoff =undefined= without cutoff
1296
1296
// RUN: not %clang --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff=undefined= %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF11
1297
1297
// CHECK-SKIP-HOT-CUTOFF11: unsupported argument 'undefined=' to option '-fsanitize-skip-hot-cutoff='
1298
1298
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
1300
1300
// RUN: %clang -Werror --target=x86_64-linux-gnu -fsanitize-skip-hot-cutoff= %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-SKIP-HOT-CUTOFF12
1301
1301
// CHECK-SKIP-HOT-CUTOFF12-NOT: "-fsanitize-skip-hot-cutoff"
You can’t perform that action at this time.
0 commit comments