[clang] [llvm] [SpecialCaseList] Use glob by default (PR #74809)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 6 22:00:31 PST 2024


MaskRay wrote:

> ah it's because we something like
> 
> ```
> [cfi-unrelated-cast|cfi-derived-cast]
> 
> src:*third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
> ```
> 
> it seems like the new system doesn't match `[cfi-unrelated-cast|cfi-derived-cast]`

The glob mode can use the section name `[cfi-*-cast]` or `[cfi-{unrelated,derived}-cast]`. https://clang.llvm.org/docs/SanitizerSpecialCaseList.html contains an example.

https://github.com/llvm/llvm-project/pull/74809


More information about the cfe-commits mailing list