[clang] [llvm] Make sanitizer special case list slash-agnostic (PR #149886)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 7 10:12:33 PDT 2025
================
@@ -237,7 +242,12 @@ unsigned SpecialCaseList::inSectionBlame(const SectionEntries &Entries,
if (II == I->second.end())
return 0;
- return II->getValue().match(Query);
+ if (CanonicalizePaths && (Prefix == "src" || Prefix == "mainfile")) {
----------------
vitalybuka wrote:
Actually we don't need SpecialCaseList::NormalizePath
if we do src/mainfile it should be enough
https://github.com/llvm/llvm-project/pull/149886
More information about the llvm-commits
mailing list