[all-commits] [llvm/llvm-project] d7ec48: [clang] accept -fsanitize-ignorelist= in addition ...

Nico Weber via All-commits all-commits at lists.llvm.org
Tue May 4 07:24:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7ec48d71bd67118e7996c45e9c7fb1b09d4f59a
      https://github.com/llvm/llvm-project/commit/d7ec48d71bd67118e7996c45e9c7fb1b09d4f59a
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-05-04 (Tue, 04 May 2021)

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

  Log Message:
  -----------
  [clang] accept -fsanitize-ignorelist= in addition to -fsanitize-blacklist=

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

Differential Revision: https://reviews.llvm.org/D101832




More information about the All-commits mailing list