[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)

Qinkun Bao via cfe-commits cfe-commits at lists.llvm.org
Tue May 27 04:06:20 PDT 2025


================
@@ -44,6 +44,12 @@ bool NoSanitizeList::containsFunction(SanitizerMask Mask,
 
 bool NoSanitizeList::containsFile(SanitizerMask Mask, StringRef FileName,
                                   StringRef Category) const {
+  unsigned NoSanLine = SSCL->inSectionBlame(Mask, "src", FileName, Category);
----------------
qinkunbao wrote:

Please see https://github.com/llvm/llvm-project/pull/141540

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


More information about the cfe-commits mailing list