Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:SanOpts

72       SanOpts(CGM.getLangOpts().Sanitize), CurFPFeatures(CGM.getLangOpts()),
658 if (SanOpts.has(SanitizerKind::Thread)) {
667 (SanOpts.has(SanitizerKind::ReturnsNonnullAttribute) && CurCodeDecl &&
726 if (SanOpts.empty()) \
728 if (SanOpts.has(SanitizerKind::ID)) \
730 SanOpts.set(SanitizerKind::ID, false);
737 // Apply the no_sanitize* attributes to SanOpts.
740 SanOpts.Mask &= ~mask;
742 SanOpts.set(SanitizerKind::KernelAddress, false);
744 SanOpts.set(SanitizerKind::Address, false);
746 SanOpts.set(SanitizerKind::KernelHWAddress, false);
748 SanOpts.set(SanitizerKind::HWAddress, false);
753 if (SanOpts.hasOneOf(SanitizerKind::Address | SanitizerKind::KernelAddress))
755 if (SanOpts.hasOneOf(SanitizerKind::HWAddress | SanitizerKind::KernelHWAddress))
757 if (SanOpts.has(SanitizerKind::MemTag))
759 if (SanOpts.has(SanitizerKind::Thread))
761 if (SanOpts.hasOneOf(SanitizerKind::Memory | SanitizerKind::KernelMemory))
763 if (SanOpts.has(SanitizerKind::SafeStack))
765 if (SanOpts.has(SanitizerKind::ShadowCallStack))
769 if (SanOpts.hasOneOf(SanitizerKind::Fuzzer | SanitizerKind::FuzzerNoLink))
774 if (SanOpts.has(SanitizerKind::Thread)) {
788 if (D && SanOpts.has(SanitizerKind::CFIUnrelatedCast)) {
790 SanOpts.Mask &= ~SanitizerKind::CFIUnrelatedCast;
796 if (D && SanOpts.has(SanitizerKind::Null))
800 SanOpts.Mask &= ~SanitizerKind::Null;
895 if (getLangOpts().CPlusPlus && SanOpts.has(SanitizerKind::Function)) {
918 if (SanOpts.has(SanitizerKind::NullabilityReturn)) {
921 if (!(SanOpts.has(SanitizerKind::ReturnsNonnullAttribute) &&
1374 if (SanOpts.has(SanitizerKind::Return)) {
1384 if (SanOpts.has(SanitizerKind::Return) || ShouldEmitUnreachable) {
2199 if (SanOpts.has(SanitizerKind::VLABound) &&
2315 if (SanOpts.has(SanitizerKind::Alignment)) {
2337 if (!SanOpts.has(SanitizerKind::Alignment))
2617 if (!SanOpts.has(SanitizerKind::Alignment))