[PATCH] D129832: [sanitizer] Add "mainsrc" prefix to sanitizer special case list
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 14 23:23:44 PDT 2022
vitalybuka added inline comments.
================
Comment at: clang/lib/CodeGen/CodeGenModule.cpp:2786
+ const FileEntry &MainFile = *SM.getFileEntryForID(SM.getMainFileID());
+ if (NoSanitizeL.containsMainFile(Kind, MainFile.getName()))
+ return true;
----------------
we search exactly the same MainFile.getName() in containsMainFile and containsFile ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129832/new/
https://reviews.llvm.org/D129832
More information about the llvm-commits
mailing list