diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index 54b417dcfdf98f..74557c5bd58148 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -933,7 +933,7 @@ Generalize pointers in CFI indirect call type signature checks Restrict sanitizer coverage instrumentation exclusively to modules and functions that match the provided special case list, except the blocked ones -.. option:: -fsanitize-coverage-ignorelist=, -fsanitize-coverage-blacklist=, -fsanitize-coverage-blocklist= +.. option:: -fsanitize-coverage-ignorelist=, -fsanitize-coverage-blacklist= Disable sanitizer coverage instrumentation for modules and functions that match the provided special case list, even the allowed ones diff --git a/clang/docs/SanitizerCoverage.rst b/clang/docs/SanitizerCoverage.rst index ebd5d72127aaa7..81b3cfea0549f4 100644 --- a/clang/docs/SanitizerCoverage.rst +++ b/clang/docs/SanitizerCoverage.rst @@ -326,7 +326,7 @@ Disabling instrumentation without source modification It is sometimes useful to tell SanitizerCoverage to instrument only a subset of the functions in your target without modifying source files. With ``-fsanitize-coverage-allowlist=allowlist.txt`` -and ``-fsanitize-coverage-blocklist=blocklist.txt``, +and ``-fsanitize-coverage-ignorelist=blocklist.txt``, you can specify such a subset through the combination of an allowlist and a blocklist. SanitizerCoverage will only instrument functions that satisfy two conditions. diff --git a/clang/include/clang/Driver/Options.td b/clang/include/clang/Driver/Options.td index 329caae5f9fe10..7c6b22c0296936 100644 --- a/clang/include/clang/Driver/Options.td +++ b/clang/include/clang/Driver/Options.td @@ -1546,10 +1546,6 @@ def fsanitize_coverage_ignorelist : Joined<["-"], "fsanitize-coverage-ignorelist HelpText<"Disable sanitizer coverage instrumentation for modules and functions " "that match the provided special case list, even the allowed ones">, MarshallingInfoStringVector>; -def : Joined<["-"], "fsanitize-coverage-blocklist=">, - Group, Flags<[CoreOption, HelpHidden]>, - Alias, - HelpText<"Deprecated, use -fsanitize-coverage-ignorelist= instead">; def : Joined<["-"], "fsanitize-coverage-blacklist=">, Group, Flags<[CoreOption, HelpHidden]>, Alias,