Home
last modified time | relevance | path

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

/freebsd/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()
105 ProfileList::inSection(StringRef Section, StringRef Prefix, in inSection() function in ProfileList
107 if (SCL->inSection(Section, Prefix, Query, "allow")) in inSection()
109 if (SCL->inSection(Section, Prefix, Query, "skip")) in inSection()
111 if (SCL->inSection(Section, Prefix, Query, "forbid")) in inSection()
113 if (SCL->inSection(Section, Prefix, Query)) in inSection()
123 if (auto V = inSection(Section, "function", FunctionName)) in isFunctionExcluded()
125 if (SCL->inSection(Section, "!fun", FunctionName)) in isFunctionExcluded()
[all …]
H A DSanitizerSpecialCaseList.cpp57 bool SanitizerSpecialCaseList::inSection(SanitizerMask Mask, StringRef Prefix, in inSection() function in SanitizerSpecialCaseList
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DProfileList.h44 std::optional<ExclusionType> inSection(StringRef Section, StringRef Prefix,
H A DSanitizerSpecialCaseList.h44 bool inSection(SanitizerMask Mask, StringRef Prefix, StringRef Query,
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageFilters.cpp40 return Allowlist.inSection("llvmcov", "allowlist_fun", Function.Name); in matches()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSpecialCaseList.h95 LLVM_ABI bool inSection(StringRef Section, StringRef Prefix, StringRef Query,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp264 if (Ignorelist && Ignorelist->inSection("metadata", "fun", F.getName())) in runOn()
493 if (Ignorelist->inSection("metadata", "src", M.getSourceFileName())) in run()
H A DSanitizerCoverage.cpp408 !Allowlist->inSection("coverage", "src", M.getSourceFileName())) in instrumentModule()
411 Blocklist->inSection("coverage", "src", M.getSourceFileName())) in instrumentModule()
667 if (Allowlist && !Allowlist->inSection("coverage", "fun", F.getName())) in instrumentFunction()
669 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/contrib/llvm-project/llvm/lib/Support/
H A DSpecialCaseList.cpp211 bool SpecialCaseList::inSection(StringRef Section, StringRef Prefix, in inSection() function in llvm::SpecialCaseList