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

/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp42 SanitizerSet FsanitizeArgument = CGM.getLangOpts().Sanitize;
80 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
H A DCGDeclCXX.cpp455 if (getLangOpts().Sanitize.has(SanitizerKind::Address) &&
459 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) &&
463 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) &&
467 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) &&
471 if (getLangOpts().Sanitize.has(SanitizerKind::MemtagStack) &&
475 if (getLangOpts().Sanitize.has(SanitizerKind::Thread) &&
479 if (getLangOpts().Sanitize.has(SanitizerKind::Memory) &&
483 if (getLangOpts().Sanitize.has(SanitizerKind::KernelMemory) &&
487 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) &&
491 if (getLangOpts().Sanitize
[all...]
H A DBackendUtil.cpp633 LangOpts.Sanitize.has(SanitizerKind::KCFI))
642 LangOpts.Sanitize.has(SanitizerKind::KCFI))
666 if (LangOpts.Sanitize.has(Mask)) {
692 if (LangOpts.Sanitize.has(SanitizerKind::Thread)) {
698 if (LangOpts.Sanitize.has(Mask)) {
716 if (LangOpts.Sanitize.has(Mask)) {
726 if (LangOpts.Sanitize.has(SanitizerKind::DataFlow)) {
976 if (LangOpts.Sanitize.has(SanitizerKind::LocalBounds))
H A DCodeGenModule.cpp397 if (LangOpts.Sanitize.has(SanitizerKind::Thread) ||
870 if (LangOpts.Sanitize.has(SanitizerKind::KCFI))
1091 if (LangOpts.Sanitize.has(SanitizerKind::CFIICall)) {
1097 if (LangOpts.Sanitize.has(SanitizerKind::KCFI)) {
1140 if (LangOpts.Sanitize.has(SanitizerKind::MemtagStack))
2732 if (!LangOpts.Sanitize.has(SanitizerKind::CFIICall))
2880 if (LangOpts.Sanitize.has(SanitizerKind::KCFI))
7443 return ((LangOpts.Sanitize.has(SanitizerKind::CFIVCall) &&
7445 (LangOpts.Sanitize.has(SanitizerKind::CFINVCall) &&
7447 (LangOpts.Sanitize
[all...]
H A DCGVTables.cpp970 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::HWAddress)) {
H A DCodeGenFunction.cpp64 LangOpts.Sanitize.has(SanitizerKind::HWAddress) ||
65 LangOpts.Sanitize.has(SanitizerKind::Memory))
76 SanOpts(CGM.getLangOpts().Sanitize), CurFPFeatures(CGM.getLangOpts()),
H A DItaniumCXXABI.cpp2269 if (CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) && AS == 0 &&
2298 if (!CGM.getLangOpts().Sanitize.has(SanitizerKind::Address) || AS != 0)
H A DCGExpr.cpp3730 SanOpts = CGM.getLangOpts().Sanitize;
3778 if (CGM.getLangOpts().Sanitize.has(Mask))
H A DCGCall.cpp1836 if (Module.getLangOpts().Sanitize.has(SanitizerKind::Memory))
1858 Module.getLangOpts().Sanitize.has(SanitizerKind::Return);
/freebsd-current/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DDarwin.cpp1487 const SanitizerArgs &Sanitize = getSanitizerArgs(Args); local
1489 if (!Sanitize.needsSharedRt()) {
1491 if (Sanitize.needsUbsanRt()) {
1493 } else if (Sanitize.needsAsanRt()) {
1495 } else if (Sanitize.needsTsanRt()) {
1505 if (Sanitize.linkRuntimes()) {
1506 if (Sanitize.needsAsanRt()) {
1507 if (Sanitize.needsStableAbi()) {
1510 assert(Sanitize.needsSharedRt() &&
1515 if (Sanitize
[all...]
H A DMinGW.cpp103 const SanitizerArgs &Sanitize = TC.getSanitizerArgs(Args); local
208 if (Sanitize.needsAsanRt() && !Args.hasArg(options::OPT_nostdlib) &&
313 if (Sanitize.needsAsanRt()) {
/freebsd-current/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.cpp31 if (Opts.Sanitize.has(SanitizerKind::Address))
/freebsd-current/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp3384 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize))
3582 for (StringRef Sanitizer : serializeSanitizerKinds(Opts.Sanitize))
3664 // ObjCAAutoRefCount and Sanitize LangOpts are used to setup the
3674 Diags, Opts.Sanitize);
4080 Diags, Opts.Sanitize);
4639 !LangOpts.Sanitize.has(SanitizerKind::Address) &&
4640 !LangOpts.Sanitize.has(SanitizerKind::KernelAddress) &&
4641 !LangOpts.Sanitize.has(SanitizerKind::Memory) &&
4642 !LangOpts.Sanitize.has(SanitizerKind::KernelMemory);
4659 !Res.getLangOpts().Sanitize
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DLangOptions.h424 SanitizerSet Sanitize; member in class:clang::LangOptions
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5082 const SanitizerMask EnabledAsanMask = Context.getLangOpts().Sanitize.Mask &
/freebsd-current/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp354 SanitizerSet ExistingSanitizers = ExistingLangOpts.Sanitize;
355 SanitizerSet ImportedSanitizers = LangOpts.Sanitize;
6034 LangOpts.Sanitize.set(SanitizerKind::ID, Record[Idx++]);
H A DASTWriter.cpp1444 Record.push_back(LangOpts.Sanitize.has(SanitizerKind::ID));

Completed in 343 milliseconds