[all-commits] [llvm/llvm-project] 45b874: [UBSan] Support src:*=sanitize for multiple ignore...

Qinkun Bao via All-commits all-commits at lists.llvm.org
Wed May 28 08:13:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45b874bc57af1520a1a6a3118f45d12c48704987
      https://github.com/llvm/llvm-project/commit/45b874bc57af1520a1a6a3118f45d12c48704987
  Author: Qinkun Bao <qinkun at google.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M clang/include/clang/Basic/SanitizerSpecialCaseList.h
    M clang/lib/Basic/NoSanitizeList.cpp
    M clang/lib/Basic/SanitizerSpecialCaseList.cpp
    M clang/test/CodeGen/ubsan-src-ignorelist-category.test

  Log Message:
  -----------
  [UBSan] Support src:*=sanitize for multiple ignorelists. (#141640)

See: https://github.com/llvm/llvm-project/issues/139128 and
https://github.com/llvm/llvm-project/pull/140529 for the background.

The introduction of these new tests (ubsan-src-ignorelist-category.test)
`-fsanitize-ignorelist=%t/src.ignorelist
-fsanitize-ignorelist=%t/src.ignorelist.contradict9` in this PR will not
lead to failures in the previous implementation (without this PR). This
is because the existing logic distinguishes between Sections in
different ignorelists, even if their names are identical. The order of
these Sections is preserved using a `vector`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list