aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-06-19 22:22:47 -0700
committerFangrui Song <i@maskray.me>2020-06-19 22:22:47 -0700
commit2a4317bfb319e3ef26bf690e35b00be176bcd37f (patch)
tree241b85aa6ff7c8d3053cfdc1a10a018273e0e872 /clang/lib/Frontend/CompilerInvocation.cpp
parent6429471e8b766b841644f224b5c6525a9b3227c9 (diff)
downloadllvm-2a4317bfb319e3ef26bf690e35b00be176bcd37f.zip
llvm-2a4317bfb319e3ef26bf690e35b00be176bcd37f.tar.gz
llvm-2a4317bfb319e3ef26bf690e35b00be176bcd37f.tar.bz2
[SanitizeCoverage] Rename -fsanitize-coverage-{white,black}list to -fsanitize-coverage-{allow,block}list
Keep deprecated -fsanitize-coverage-{white,black}list as aliases for compatibility for now. Reviewed By: echristo Differential Revision: https://reviews.llvm.org/D82244
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 1af4153..f322cc7 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1170,10 +1170,10 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.SanitizeCoveragePCTable = Args.hasArg(OPT_fsanitize_coverage_pc_table);
Opts.SanitizeCoverageStackDepth =
Args.hasArg(OPT_fsanitize_coverage_stack_depth);
- Opts.SanitizeCoverageWhitelistFiles =
- Args.getAllArgValues(OPT_fsanitize_coverage_whitelist);
- Opts.SanitizeCoverageBlacklistFiles =
- Args.getAllArgValues(OPT_fsanitize_coverage_blacklist);
+ Opts.SanitizeCoverageAllowlistFiles =
+ Args.getAllArgValues(OPT_fsanitize_coverage_allowlist);
+ Opts.SanitizeCoverageBlocklistFiles =
+ Args.getAllArgValues(OPT_fsanitize_coverage_blocklist);
Opts.SanitizeMemoryTrackOrigins =
getLastArgIntValue(Args, OPT_fsanitize_memory_track_origins_EQ, 0, Diags);
Opts.SanitizeMemoryUseAfterDtor =