aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-12-11 15:30:28 -0800
committerGitHub <noreply@github.com>2023-12-11 15:30:28 -0800
commit81d1df2a39f0616be4b530cbf86b3f575442a347 (patch)
tree3a75cf92e0b1cb5d2fae48550df7eb1575367a33 /llvm/lib/Object/COFFObjectFile.cpp
parente1655a98cb9c098fa941ed199664927ba8a4b031 (diff)
downloadllvm-81d1df2a39f0616be4b530cbf86b3f575442a347.zip
llvm-81d1df2a39f0616be4b530cbf86b3f575442a347.tar.gz
llvm-81d1df2a39f0616be4b530cbf86b3f575442a347.tar.bz2
[SpecialCaseList] Use glob by default (#74809)
https://reviews.llvm.org/D154014 addes glob support and enables it when `#!special-case-list-v2` is the first line. This patch makes the glob support the default (faster than regex after https://reviews.llvm.org/D156046) and switches to the deprecated regex support if `#!special-case-list-v1` is the first line. I have surveyed many ignore lists. All ignore lists I find only use basic `*` `.` and don't use regex metacharacters such as `(` and `)`. (As neither `src:` nor `fun:` benefits from using regex.) They are unaffected by the transition (with a caution that regex `src:x/a.pb.*` matches `x/axpbx` but glob `src:x/a.pb.*` doesn't). There is no deprecating warning. If a user finds `#!special-case-list-v1`, they shall read that the old syntax is deprecated. Link: https://discourse.llvm.org/t/use-glob-instead-of-regex-for-specialcaselists/71666
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions