[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 09:58:57 PDT 2025


================
@@ -147,15 +147,14 @@ class SpecialCaseList {
     Section(StringRef Str, unsigned FileIdx)
         : SectionStr(Str), FileIdx(FileIdx) {};
 
-    Section(Section &&) = default;
-
-    Matcher SectionMatcher;
+    std::unique_ptr<Matcher> SectionMatcher = std::make_unique<Matcher>();
     SectionEntries Entries;
     std::string SectionStr;
     unsigned FileIdx;
   };
 
   std::vector<Section> Sections;
+  bool CanonicalizePaths = false;
----------------
vitalybuka wrote:

sannitizers support multiple files 
So it should be a property of the section

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


More information about the llvm-commits mailing list