[PATCH] D96203: [clang][patch] Modify sanitizer options names: renaming blacklist to blocklist
Melanie Blower via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Feb 6 06:43:19 PST 2021
mibintc created this revision.
mibintc added reviewers: Sanitizers, aaron.ballman, echristo, MaskRay.
Herald added subscribers: dexonsmith, dang.
Herald added a reviewer: jansvoboda11.
mibintc requested review of this revision.
Herald added a project: clang.
This changes the option names that include substring blacklist to blocklist. Also there are some "resource directory" builtin file names. I changed those from blacklist to blocklist. I looked in the doc to see if the builtin file names appear in the documentation, I couldn't find hits using e.g. "asan_blacklist.txt site:llvm.org" so I cautiously think they aren't documented and therefore fair game.
In options.td there is a way to officially mark an option deprecated by adding it to a specific group, I didn't do that yet. When could we actually eliminate the old spelling? How about December 2021?
I thought it would be best to start with the external clang interface, but i also want to make more patches to eliminate whitelist and blacklist in the comments and in the object names, file names etc.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96203
Files:
clang/include/clang/AST/ASTContext.h
clang/include/clang/Basic/LangOptions.h
clang/include/clang/Basic/SanitizerBlacklist.h
clang/include/clang/Driver/Options.td
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Decl.cpp
clang/lib/Basic/LangOptions.cpp
clang/lib/Basic/SanitizerBlacklist.cpp
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGClass.cpp
clang/lib/CodeGen/CGDeclCXX.cpp
clang/lib/CodeGen/CGExpr.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/CodeGen/SanitizerMetadata.cpp
clang/lib/Driver/SanitizerArgs.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/Inputs/resource_dir/share/asan_blacklist.txt
clang/test/Driver/Inputs/resource_dir/share/asan_blocklist.txt
clang/test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt
clang/test/Driver/Inputs/resource_dir/share/hwasan_blocklist.txt
clang/test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt
clang/test/Driver/Inputs/resource_dir/share/ubsan_blocklist.txt
clang/test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt
clang/test/Driver/Inputs/resource_dir/share/vtables_blocklist.txt
clang/test/Driver/fsanitize-blacklist.c
clang/test/Driver/print-file-name.c
clang/test/Frontend/Inputs/resource_dir_with_sanitizer_blacklist/share/ubsan_blacklist.txt
clang/test/Frontend/Inputs/resource_dir_with_sanitizer_blacklist/share/ubsan_blocklist.txt
clang/test/Frontend/dependency-gen.c
clang/unittests/Driver/SanitizerArgsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96203.321933.patch
Type: text/x-patch
Size: 48169 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210206/265c2584/attachment-0001.bin>
More information about the cfe-commits
mailing list