[PATCH] D101832: [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 4 06:56:15 PDT 2021


thakis created this revision.
thakis added a reviewer: hans.
Herald added subscribers: dexonsmith, dang, s.egerton, simoncook, mgorny.
thakis requested review of this revision.
Herald added a project: LLVM.

Use that for internal names (including the default ignorelists of the
sanitizers).


https://reviews.llvm.org/D101832

Files:
  clang/docs/AddressSanitizer.rst
  clang/docs/ClangCommandLineReference.rst
  clang/docs/ControlFlowIntegrity.rst
  clang/docs/MemorySanitizer.rst
  clang/docs/SanitizerSpecialCaseList.rst
  clang/docs/ThreadSanitizer.rst
  clang/docs/UndefinedBehaviorSanitizer.rst
  clang/docs/UsersManual.rst
  clang/include/clang/Basic/CodeGenOptions.h
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/include/clang/Basic/SanitizerSpecialCaseList.h
  clang/include/clang/Driver/Options.td
  clang/include/clang/Driver/SanitizerArgs.h
  clang/include/clang/Frontend/DependencyOutputOptions.h
  clang/lib/CodeGen/BackendUtil.cpp
  clang/lib/Driver/SanitizerArgs.cpp
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/test/CodeGen/sanitize-init-order.cpp
  clang/test/CodeGen/sanitizer-special-case-list.c
  clang/test/CodeGen/shadowcallstack-attr.c
  clang/test/CodeGen/ubsan-blacklist-vfs.c
  clang/test/CodeGen/ubsan-ignorelist-vfs.c
  clang/test/CodeGen/ubsan-type-blacklist.cpp
  clang/test/CodeGen/ubsan-type-ignorelist.cpp
  clang/test/Driver/Inputs/resource_dir/share/asan_blacklist.txt
  clang/test/Driver/Inputs/resource_dir/share/asan_ignorelist.txt
  clang/test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt
  clang/test/Driver/Inputs/resource_dir/share/hwasan_ignorelist.txt
  clang/test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt
  clang/test/Driver/Inputs/resource_dir/share/ubsan_ignorelist.txt
  clang/test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt
  clang/test/Driver/Inputs/resource_dir/share/vtables_ignorelist.txt
  clang/test/Driver/fsanitize-blacklist.c
  clang/test/Driver/fsanitize-ignorelist.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_ignorelist/share/ubsan_ignorelist.txt
  clang/test/Frontend/dependency-gen.c
  clang/test/Frontend/print-header-includes.c
  clang/unittests/Driver/SanitizerArgsTest.cpp
  compiler-rt/lib/asan/CMakeLists.txt
  compiler-rt/lib/asan/asan_blacklist.txt
  compiler-rt/lib/asan/asan_ignorelist.txt
  compiler-rt/lib/asan/tests/CMakeLists.txt
  compiler-rt/lib/asan/tests/asan_test.cpp
  compiler-rt/lib/asan/tests/asan_test.ignore
  compiler-rt/lib/asan/tests/asan_test_config.h
  compiler-rt/lib/cfi/CMakeLists.txt
  compiler-rt/lib/cfi/cfi_blacklist.txt
  compiler-rt/lib/cfi/cfi_ignorelist.txt
  compiler-rt/lib/hwasan/CMakeLists.txt
  compiler-rt/lib/hwasan/hwasan_blacklist.txt
  compiler-rt/lib/hwasan/hwasan_ignorelist.txt
  compiler-rt/lib/msan/CMakeLists.txt
  compiler-rt/lib/msan/msan_blacklist.txt
  compiler-rt/lib/msan/msan_ignorelist.txt
  compiler-rt/lib/msan/tests/CMakeLists.txt
  compiler-rt/lib/msan/tests/msan_test.cpp
  compiler-rt/test/asan/TestCases/Helpers/blacklist-extra.cpp
  compiler-rt/test/asan/TestCases/Helpers/ignorelist-extra.cpp
  compiler-rt/test/asan/TestCases/Helpers/initialization-blacklist-extra.cpp
  compiler-rt/test/asan/TestCases/Helpers/initialization-blacklist-extra2.cpp
  compiler-rt/test/asan/TestCases/Helpers/initialization-blacklist.txt
  compiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist-extra.cpp
  compiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist-extra2.cpp
  compiler-rt/test/asan/TestCases/Helpers/initialization-ignorelist.txt
  compiler-rt/test/asan/TestCases/Windows/iostream_sbo.cpp
  compiler-rt/test/asan/TestCases/blacklist.cpp
  compiler-rt/test/asan/TestCases/default_blacklist.cpp
  compiler-rt/test/asan/TestCases/default_ignorelist.cpp
  compiler-rt/test/asan/TestCases/ignorelist.cpp
  compiler-rt/test/asan/TestCases/initialization-blacklist.cpp
  compiler-rt/test/asan/TestCases/initialization-ignorelist.cpp
  compiler-rt/test/dfsan/flags.c
  compiler-rt/test/msan/default_blacklist.cpp
  compiler-rt/test/msan/default_ignorelist.cpp
  compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_blocklist.cpp
  compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
  compiler-rt/test/tsan/blacklist.cpp
  compiler-rt/test/tsan/blacklist2.cpp
  compiler-rt/test/tsan/ignorelist.cpp
  compiler-rt/test/tsan/ignorelist2.cpp
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-blacklist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sign-change-ignorelist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-blacklist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-ignorelist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-blacklist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-integer-truncation-or-sign-change-ignorelist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-blacklist.c
  compiler-rt/test/ubsan/TestCases/ImplicitConversion/unsigned-integer-truncation-ignorelist.c
  compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-blacklist.cpp
  compiler-rt/test/ubsan/TestCases/Pointer/alignment-assumption-ignorelist.cppp
  llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn
  llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
  llvm/utils/gn/secondary/compiler-rt/lib/tsan/BUILD.gn
  llvm/utils/gn/secondary/compiler-rt/test/hwasan/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101832.342717.patch
Type: text/x-patch
Size: 141174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210504/7279393b/attachment-0001.bin>


More information about the cfe-commits mailing list