Searched refs:Sanitize (Results 1 - 16 of 16) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp34 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
65 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
82 if (isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
H A DBackendUtil.cpp537 Options.Atomic = LangOpts.Sanitize.has(SanitizerKind::Thread);
611 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds)) {
627 if (LangOpts.Sanitize.has(SanitizerKind::Address)) {
634 if (LangOpts.Sanitize.has(SanitizerKind::KernelAddress)) {
641 if (LangOpts.Sanitize.has(SanitizerKind::HWAddress)) {
648 if (LangOpts.Sanitize.has(SanitizerKind::KernelHWAddress)) {
655 if (LangOpts.Sanitize.has(SanitizerKind::Memory)) {
662 if (LangOpts.Sanitize.has(SanitizerKind::KernelMemory)) {
669 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) {
676 if (LangOpts.Sanitize
[all...]
H A DCGDeclCXX.cpp355 if (getLangOpts().Sanitize.has(SanitizerKind::Address) &&
359 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) &&
363 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) &&
367 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) &&
371 if (getLangOpts().Sanitize.has(SanitizerKind::MemTag) &&
375 if (getLangOpts().Sanitize.has(SanitizerKind::Thread) &&
379 if (getLangOpts().Sanitize.has(SanitizerKind::Memory) &&
383 if (getLangOpts().Sanitize.has(SanitizerKind::KernelMemory) &&
387 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) &&
391 if (getLangOpts().Sanitize
[all...]
H A DCodeGenFunction.cpp55 LangOpts.Sanitize.has(SanitizerKind::HWAddress) ||
56 LangOpts.Sanitize.has(SanitizerKind::Memory))
67 SanOpts(CGM.getLangOpts().Sanitize), DebugInfo(CGM.getModuleDebugInfo()),
H A DCodeGenModule.cpp143 if (LangOpts.Sanitize.has(SanitizerKind::Thread) ||
552 if (LangOpts.Sanitize.has(SanitizerKind::CFIICall)) {
1789 if (!LangOpts.Sanitize.has(SanitizerKind::CFIICall))
2291 LangOpts.Sanitize.Mask &
5884 return ((LangOpts.Sanitize.has(SanitizerKind::CFIVCall) &&
5886 (LangOpts.Sanitize.has(SanitizerKind::CFINVCall) &&
5888 (LangOpts.Sanitize.has(SanitizerKind::CFIDerivedCast) &&
5890 (LangOpts.Sanitize.has(SanitizerKind::CFIUnrelatedCast) &&
H A DItaniumCXXABI.cpp2039 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) && AS == 0 &&
2068 if (!CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) || AS != 0)
H A DCGExpr.cpp3231 SanOpts = CGM.getLangOpts().Sanitize;
3278 if (CGM.getLangOpts().Sanitize.has(Mask))
/freebsd-12-stable/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp31 if (Opts.Sanitize.has(SanitizerKind::Address))
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h234 SanitizerSet Sanitize; member in class:clang::LangOptions
/freebsd-12-stable/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp1220 const SanitizerArgs &Sanitize = getSanitizerArgs(); local
1221 if (Sanitize.needsAsanRt())
1223 if (Sanitize.needsLsanRt())
1225 if (Sanitize.needsUbsanRt())
1227 Sanitize.requiresMinimalRuntime() ? "ubsan_minimal"
1229 Sanitize.needsSharedRt());
1230 if (Sanitize.needsTsanRt())
1232 if (Sanitize.needsFuzzer() && !Args.hasArg(options::OPT_dynamiclib)) {
1238 if (Sanitize.needsStatsRt()) {
H A DMinGW.cpp99 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); local
261 if (Sanitize.needsAsanRt()) {
H A DClang.cpp5098 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(); local
5099 Sanitize.addArgs(TC, Args, CmdArgs, InputType);
5912 (WholeProgramVTables || Sanitize.needsLTO()) &&
5917 if (Sanitize.needsLTO() && !SplitLTOUnit)
/freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3234 Diags, Opts.Sanitize);
3568 // ObjCAAutoRefCount and Sanitize LangOpts are used to setup the
3578 Diags, LangOpts.Sanitize);
3615 !LangOpts.Sanitize.has(SanitizerKind::Address) &&
3616 !LangOpts.Sanitize.has(SanitizerKind::KernelAddress) &&
3617 !LangOpts.Sanitize.has(SanitizerKind::Memory) &&
3618 !LangOpts.Sanitize.has(SanitizerKind::KernelMemory);
3631 !Res.getLangOpts()->Sanitize.empty()) {
3734 SanitizerSet SanHash = LangOpts->Sanitize;
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp4474 const SanitizerMask EnabledAsanMask = Context.getLangOpts().Sanitize.Mask &
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp342 SanitizerSet ExistingSanitizers = ExistingLangOpts.Sanitize;
343 SanitizerSet ImportedSanitizers = LangOpts.Sanitize;
5700 LangOpts.Sanitize.set(SanitizerKind::ID, Record[Idx++]);
H A DASTWriter.cpp1200 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID));

Completed in 407 milliseconds