Home
last modified time | relevance | path

Searched refs:SanOpts (Results 1 – 7 of 7) sorted by relevance

/external/clang/lib/CodeGen/
DCGExprScalar.cpp413 if (!CGF.SanOpts->SignedIntegerOverflow) in EmitMul()
421 if (Ops.Ty->isUnsignedIntegerType() && CGF.SanOpts->UnsignedIntegerOverflow) in EmitMul()
766 if (CGF.SanOpts->FloatCastOverflow && in EmitScalarConversion()
998 if (CGF.SanOpts->Bounds) in VisitArraySubscriptExpr()
1437 if (!CGF.SanOpts->SignedIntegerOverflow) in EmitAddConsiderOverflowBehavior()
1485 CGF.SanOpts->UnsignedIntegerOverflow) && in EmitScalarPrePostIncDec()
1537 CGF.SanOpts->UnsignedIntegerOverflow) { in EmitScalarPrePostIncDec()
1924 CGF.SanOpts->UnsignedIntegerOverflow) && in EmitCompoundAssignLValue()
2035 if (CGF.SanOpts->IntegerDivideByZero) in EmitUndefinedBehaviorIntegerDivAndRemCheck()
2038 if (CGF.SanOpts->SignedIntegerOverflow && in EmitUndefinedBehaviorIntegerDivAndRemCheck()
[all …]
DCGExpr.cpp456 if (SanOpts->Null) { in EmitTypeCheck()
472 if (SanOpts->ObjectSize && !Ty->isIncompleteType()) { in EmitTypeCheck()
489 if (SanOpts->Alignment) { in EmitTypeCheck()
524 if (SanOpts->Vptr && in EmitTypeCheck()
641 assert(SanOpts->Bounds && "should not be called unless adding bounds checks"); in EmitBoundsCheck()
742 if (SanOpts->Bounds && isa<ArraySubscriptExpr>(E)) in EmitCheckedLValue()
1112 if ((SanOpts->Bool && hasBooleanRepresentation(Ty)) || in EmitLoadOfScalar()
1113 (SanOpts->Enum && Ty->getAs<EnumType>())) { in EmitLoadOfScalar()
2097 assert(SanOpts != &SanitizerOptions::Disabled); in EmitCheck()
2218 if (SanOpts->Bounds) in EmitArraySubscriptExpr()
DCodeGenFunction.cpp41 SanOpts(&CGM.getSanOpts()), in CodeGenFunction()
503 SanOpts = &SanitizerOptions::Disabled; in StartFunction()
723 if (SanOpts->Return) in GenerateCode()
1322 if (SanOpts->VLABound && in EmitVariablyModifiedType()
DCodeGenModule.h417 const SanitizerOptions &SanOpts; variable
978 const SanitizerOptions &getSanOpts() const { return SanOpts; } in getSanOpts()
DCodeGenModule.cpp87 SanOpts(SanitizerBlacklist.isIn(M) ? in CodeGenModule()
117 if (SanOpts.Thread || in CodeGenModule()
649 if (SanOpts.Address && !D->hasAttr<NoSanitizeAddressAttr>()) in SetLLVMFunctionAttributesForDefinition()
652 if (SanOpts.Thread && !D->hasAttr<NoSanitizeThreadAttr>()) { in SetLLVMFunctionAttributesForDefinition()
656 if (SanOpts.Memory && !D->hasAttr<NoSanitizeMemoryAttr>()) in SetLLVMFunctionAttributesForDefinition()
1829 if (SanOpts.Address && NeedsGlobalCtor) { in EmitGlobalVarDefinition()
DCodeGenFunction.h228 const SanitizerOptions *SanOpts; variable
DCGBuiltin.cpp439 if (SanOpts->Unreachable) in EmitBuiltinExpr()