Home
last modified time | relevance | path

Searched refs:inSection (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DXRayLists.cpp39 if (AlwaysInstrument->inSection("xray_always_instrument", "fun", FunctionName, in shouldImbueFunction()
41 AttrList->inSection("always", "fun", FunctionName, "arg1")) in shouldImbueFunction()
43 if (AlwaysInstrument->inSection("xray_always_instrument", "fun", in shouldImbueFunction()
45 AttrList->inSection("always", "fun", FunctionName)) in shouldImbueFunction()
48 if (NeverInstrument->inSection("xray_never_instrument", "fun", in shouldImbueFunction()
50 AttrList->inSection("never", "fun", FunctionName)) in shouldImbueFunction()
59 if (AlwaysInstrument->inSection("xray_always_instrument", "src", Filename, in shouldImbueFunctionsInFile()
61 AttrList->inSection("always", "src", Filename, Category)) in shouldImbueFunctionsInFile()
63 if (NeverInstrument->inSection("xray_never_instrument", "src", Filename, in shouldImbueFunctionsInFile()
65 AttrList->inSection("never", "src", Filename, Category)) in shouldImbueFunctionsInFile()
H A DProfileList.cpp92 if (SCL->inSection(Section, "default", "allow")) in getDefault()
94 if (SCL->inSection(Section, "default", "skip")) in getDefault()
96 if (SCL->inSection(Section, "default", "forbid")) in getDefault()
107 if (SCL->inSection(Section, Prefix, Query, "allow")) in inSection()
109 if (SCL->inSection(Section, Prefix, Query, "skip")) in inSection()
113 if (SCL->inSection(Section, Prefix, Query)) in inSection()
125 if (SCL->inSection(Section, "!fun", FunctionName)) in isFunctionExcluded()
127 if (SCL->inSection(Section, "fun", FunctionName)) in isFunctionExcluded()
143 if (auto V = inSection(Section, "source", FileName)) in isFileExcluded()
145 if (SCL->inSection(Section, "!src", FileName)) in isFileExcluded()
[all …]
H A DNoSanitizeList.cpp32 return SSCL->inSection(Mask, "global", GlobalName, Category); in containsGlobal()
37 return SSCL->inSection(Mask, "type", MangledTypeName, Category); in containsType()
42 return SSCL->inSection(Mask, "fun", FunctionName); in containsFunction()
47 return SSCL->inSection(Mask, "src", FileName, Category); in containsFile()
52 return SSCL->inSection(Mask, "mainfile", FileName, Category); in containsMainFile()
H A DSanitizerSpecialCaseList.cpp57 bool SanitizerSpecialCaseList::inSection(SanitizerMask Mask, StringRef Prefix, in inSection() function in SanitizerSpecialCaseList
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DProfileList.h44 std::optional<ExclusionType> inSection(StringRef Section, StringRef Prefix,
H A DSanitizerSpecialCaseList.h43 bool inSection(SanitizerMask Mask, StringRef Prefix, StringRef Query,
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp40 return Allowlist.inSection("llvmcov", "allowlist_fun", Function.Name); in matches()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DSpecialCaseList.h92 bool inSection(StringRef Section, StringRef Prefix, StringRef Query,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp255 if (Ignorelist && Ignorelist->inSection("metadata", "fun", F.getName())) in runOn()
480 if (Ignorelist->inSection("metadata", "src", M.getSourceFileName())) in run()
H A DSanitizerCoverage.cpp373 !Allowlist->inSection("coverage", "src", M.getSourceFileName())) in instrumentModule()
376 Blocklist->inSection("coverage", "src", M.getSourceFileName())) in instrumentModule()
626 if (Allowlist && !Allowlist->inSection("coverage", "fun", F.getName())) in instrumentFunction()
628 if (Blocklist && Blocklist->inSection("coverage", "fun", F.getName())) in instrumentFunction()
H A DDataFlowSanitizer.cpp330 SCL->inSection("dataflow", "fun", F.getName(), Category); in isIn()
342 return SCL->inSection("dataflow", "fun", GA.getName(), Category); in isIn()
344 return SCL->inSection("dataflow", "global", GA.getName(), Category) || in isIn()
345 SCL->inSection("dataflow", "type", getGlobalTypeString(GA), in isIn()
351 return SCL->inSection("dataflow", "src", M.getModuleIdentifier(), Category); in isIn()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DSpecialCaseList.cpp207 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() function in llvm::SpecialCaseList