Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DSanitizerArgs.h25 SanitizerSet Sanitizers; variable
82 bool needsAsanRt() const { return Sanitizers.has(SanitizerKind::Address); } in needsAsanRt()
84 return Sanitizers.has(SanitizerKind::HWAddress); in needsHwasanRt()
89 bool needsTsanRt() const { return Sanitizers.has(SanitizerKind::Thread); } in needsTsanRt()
90 bool needsMsanRt() const { return Sanitizers.has(SanitizerKind::Memory); } in needsMsanRt()
91 bool needsFuzzer() const { return Sanitizers.has(SanitizerKind::Fuzzer); } in needsFuzzer()
93 return Sanitizers.has(SanitizerKind::Leak) && in needsLsanRt()
94 !Sanitizers.has(SanitizerKind::Address) && in needsLsanRt()
95 !Sanitizers.has(SanitizerKind::HWAddress); in needsLsanRt()
100 bool needsDfsanRt() const { return Sanitizers.has(SanitizerKind::DataFlow); } in needsDfsanRt()
[all …]
H A DOptions.td2346 HelpText<"Specify the type of coverage instrumentation for Sanitizers">;
2349 HelpText<"Disable features of coverage instrumentation for Sanitizers">,
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DSanitizerArgs.cpp144 static std::string toString(const clang::SanitizerSet &Sanitizers);
293 return (Sanitizers.Mask & NeedsUbsanRt & ~TrapSanitizers.Mask) || in needsUbsanRt()
298 return !(Sanitizers.Mask & SanitizerKind::CFI & ~TrapSanitizers.Mask) && in needsCfiRt()
303 return (Sanitizers.Mask & SanitizerKind::CFI & ~TrapSanitizers.Mask) && in needsCfiDiagRt()
310 return static_cast<bool>(Sanitizers.Mask & NeedsUnwindTables); in needsUnwindTables()
314 return static_cast<bool>(Sanitizers.Mask & NeedsLTO); in needsLTO()
1073 Sanitizers.Mask |= Kinds; in SanitizerArgs()
1080 static std::string toString(const clang::SanitizerSet &Sanitizers) { in toString() argument
1083 if (Sanitizers.has(SanitizerKind::ID)) { \ in toString()
1227 if (Sanitizers.empty()) in addArgs()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSanitizers.def1 //===--- Sanitizers.def - Runtime sanitizer options -------------*- C++ -*-===//
H A DAttr.td3516 let Args = [VariadicStringArgument<"Sanitizers">];
/freebsd/contrib/llvm-project/clang/include/
H A Dmodule.modulemap83 textual header "clang/Basic/Sanitizers.def"
/freebsd/sys/amd64/conf/
H A DGENERIC
/freebsd/sys/conf/
H A Doptions248 # Sanitizers
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp5775 std::vector<StringRef> Sanitizers; in handleNoSanitizeAttr() local
5791 Sanitizers.push_back(SanitizerName); in handleNoSanitizeAttr()
5794 D->addAttr(::new (S.Context) NoSanitizeAttr(S.Context, AL, Sanitizers.data(), in handleNoSanitizeAttr()
5795 Sanitizers.size())); in handleNoSanitizeAttr()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp1401 const std::vector<std::string> &Sanitizers, in parseSanitizerKinds() argument
1403 for (const auto &Sanitizer : Sanitizers) { in parseSanitizerKinds()
/freebsd/lib/clang/libclang/
H A DMakefile218 SRCS_MIN+= Basic/Sanitizers.cpp