Home
last modified time | relevance | path

Searched refs:Vtable (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/ubsan/
Dubsan_type_hash.cc223 VtablePrefix *Vtable = getVtablePrefix(Object); in checkDynamicType() local
224 if (!Vtable) in checkDynamicType()
229 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType()
234 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType()
244 VtablePrefix *Vtable = getVtablePrefix(Object); in getDynamicTypeInfo() local
245 if (!Vtable) in getDynamicTypeInfo()
248 static_cast<const abi::__class_type_info*>(Vtable->TypeInfo), in getDynamicTypeInfo()
249 -Vtable->Offset); in getDynamicTypeInfo()
250 return DynamicTypeInfo(Vtable->TypeInfo->__type_name, -Vtable->Offset, in getDynamicTypeInfo()
/external/clang/lib/CodeGen/
DCGObjCGNU.cpp1150 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local
1151 if (!Vtable) { in GetEHType()
1152 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType()
1158 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()