Home
last modified time | relevance | path

Searched refs:Vptr (Results 1 – 10 of 10) sorted by relevance

/external/compiler-rt/lib/ubsan/
Dubsan_type_hash_itanium.cc195 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix() local
196 if (!Vptr) in getVtablePrefix()
198 VtablePrefix *Prefix = Vptr - 1; in getVtablePrefix()
/external/clang/lib/CodeGen/
DCGClass.cpp2118 void CodeGenFunction::EmitVTableAssumptionLoad(const VPtr &Vptr, Address This) { in EmitVTableAssumptionLoad() argument
2120 CGM.getCXXABI().getVTableAddressPoint(Vptr.Base, Vptr.VTableClass); in EmitVTableAssumptionLoad()
2125 CharUnits NonVirtualOffset = Vptr.Base.getBaseOffset(); in EmitVTableAssumptionLoad()
2130 Vptr.VTableClass, Vptr.NearestVBase); in EmitVTableAssumptionLoad()
2133 GetVTablePtr(This, VTableGlobal->getType(), Vptr.VTableClass); in EmitVTableAssumptionLoad()
2142 for (const VPtr &Vptr : getVTablePointers(ClassDecl)) in EmitVTableAssumptionLoads() local
2143 EmitVTableAssumptionLoad(Vptr, This); in EmitVTableAssumptionLoads()
2309 void CodeGenFunction::InitializeVTablePointer(const VPtr &Vptr) { in InitializeVTablePointer() argument
2313 *this, Vptr.VTableClass, Vptr.Base, Vptr.NearestVBase); in InitializeVTablePointer()
2322 if (CGM.getCXXABI().isVirtualOffsetNeededForVTableField(*this, Vptr)) { in InitializeVTablePointer()
[all …]
DCGCXXABI.h361 CodeGenFunction::VPtr Vptr) = 0;
DCGExpr.cpp504 SanOpts.has(SanitizerKind::Vptr); in sanitizePerformTypeCheck()
597 if (SanOpts.has(SanitizerKind::Vptr) && in EmitTypeCheck()
652 EmitCheck(std::make_pair(EqualHash, SanitizerKind::Vptr), in EmitTypeCheck()
2388 case SanitizerKind::Vptr: in getRecoverableKind()
DItaniumCXXABI.cpp247 CodeGenFunction::VPtr Vptr) override;
1503 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField() argument
1504 if (Vptr.NearestVBase == nullptr) in isVirtualOffsetNeededForVTableField()
DMicrosoftCXXABI.cpp264 CodeGenFunction::VPtr Vptr) override;
1588 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField() argument
1589 return Vptr.NearestVBase != nullptr; in isVirtualOffsetNeededForVTableField()
/external/clang/lib/Driver/
DSanitizerArgs.cpp30 NeedsUbsanCxxRt = Vptr | CFI,
31 NotAllowedWithTrap = Vptr,
40 (Undefined & ~Vptr) | UnsignedIntegerOverflow | LocalBounds | CFI,
252 if (Add & Vptr && in SanitizerArgs()
268 AllRemove |= Vptr; in SanitizerArgs()
289 if ((Kinds & Vptr) && in SanitizerArgs()
292 Kinds &= ~Vptr; in SanitizerArgs()
305 if (~Supported & Vptr) { in SanitizerArgs()
DToolChain.cpp659 SanitizerMask Res = (Undefined & ~Vptr & ~Function) | (CFI & ~CFIICall) | in getSupportedSanitizers()
DToolChains.cpp1220 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
3146 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
4137 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
4533 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
/external/clang/include/clang/Basic/
DSanitizers.def76 SANITIZER("vptr", Vptr)
105 Function | Vptr)