Home
last modified time | relevance | path

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

/external/compiler-rt/lib/ubsan/
Dubsan_type_hash_itanium.cc197 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix() local
198 if (!Vptr) in getVtablePrefix()
200 VtablePrefix *Prefix = Vptr - 1; in getVtablePrefix()
/external/clang/lib/CodeGen/
DCGClass.cpp2261 void CodeGenFunction::EmitVTableAssumptionLoad(const VPtr &Vptr, Address This) { in EmitVTableAssumptionLoad() argument
2263 CGM.getCXXABI().getVTableAddressPoint(Vptr.Base, Vptr.VTableClass); in EmitVTableAssumptionLoad()
2268 CharUnits NonVirtualOffset = Vptr.Base.getBaseOffset(); in EmitVTableAssumptionLoad()
2273 Vptr.VTableClass, Vptr.NearestVBase); in EmitVTableAssumptionLoad()
2276 GetVTablePtr(This, VTableGlobal->getType(), Vptr.VTableClass); in EmitVTableAssumptionLoad()
2285 for (const VPtr &Vptr : getVTablePointers(ClassDecl)) in EmitVTableAssumptionLoads() local
2286 EmitVTableAssumptionLoad(Vptr, This); in EmitVTableAssumptionLoads()
2431 void CodeGenFunction::InitializeVTablePointer(const VPtr &Vptr) { in InitializeVTablePointer() argument
2435 *this, Vptr.VTableClass, Vptr.Base, Vptr.NearestVBase); in InitializeVTablePointer()
2444 if (CGM.getCXXABI().isVirtualOffsetNeededForVTableField(*this, Vptr)) { in InitializeVTablePointer()
[all …]
DCGCXXABI.h377 CodeGenFunction::VPtr Vptr) = 0;
DCGExpr.cpp529 SanOpts.has(SanitizerKind::Vptr); in sanitizePerformTypeCheck()
622 if (SanOpts.has(SanitizerKind::Vptr) && in EmitTypeCheck()
677 EmitCheck(std::make_pair(EqualHash, SanitizerKind::Vptr), in EmitTypeCheck()
2453 case SanitizerKind::Vptr: in getRecoverableKind()
DItaniumCXXABI.cpp239 CodeGenFunction::VPtr Vptr) override;
1497 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField() argument
1498 if (Vptr.NearestVBase == nullptr) in isVirtualOffsetNeededForVTableField()
DMicrosoftCXXABI.cpp264 CodeGenFunction::VPtr Vptr) override;
1580 CodeGenFunction &CGF, CodeGenFunction::VPtr Vptr) { in isVirtualOffsetNeededForVTableField() argument
1581 return Vptr.NearestVBase != nullptr; in isVirtualOffsetNeededForVTableField()
/external/clang/lib/Driver/
DSanitizerArgs.cpp30 NeedsUbsanCxxRt = Vptr | CFI,
31 NotAllowedWithTrap = Vptr,
40 (Undefined & ~Vptr) | UnsignedIntegerOverflow | LocalBounds | CFI,
236 if (Add & Vptr && in SanitizerArgs()
252 AllRemove |= Vptr; in SanitizerArgs()
276 if ((Kinds & Vptr) && in SanitizerArgs()
279 Kinds &= ~Vptr; in SanitizerArgs()
292 if (~Supported & Vptr) { in SanitizerArgs()
DToolChain.cpp689 SanitizerMask Res = (Undefined & ~Vptr & ~Function) | (CFI & ~CFIICall) | in getSupportedSanitizers()
DToolChains.cpp1262 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
3547 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
4680 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
5137 Res |= SanitizerKind::Vptr; in getSupportedSanitizers()
/external/clang/include/clang/Basic/
DSanitizers.def76 SANITIZER("vptr", Vptr)
105 Function | Vptr)
/external/skia/tests/
DVptrTest.cpp35 DEF_TEST(Vptr, r) { in DEF_TEST() argument
/external/skqp/tests/
DVptrTest.cpp35 DEF_TEST(Vptr, r) { in DEF_TEST() argument