Searched refs:Vtable (Results 1 – 5 of 5) sorted by relevance
/external/compiler-rt/lib/ubsan/ |
D | ubsan_type_hash_itanium.cc | 194 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument 195 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix() 219 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in checkDynamicType() local 220 if (!Vtable) in checkDynamicType() 225 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType() 230 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType() 241 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local 242 if (!Vtable) in getDynamicTypeInfoFromVtable() 245 static_cast<const abi::__class_type_info*>(Vtable->TypeInfo), in getDynamicTypeInfoFromVtable() 246 -Vtable->Offset); in getDynamicTypeInfoFromVtable() [all …]
|
D | ubsan_handlers_cxx.cc | 90 static void HandleCFIBadType(CFIBadTypeData *Data, ValueHandle Vtable, in HandleCFIBadType() argument 99 DynamicTypeInfo DTI = getDynamicTypeInfoFromVtable((void*)Vtable); in HandleCFIBadType() 110 << Data->Type << TypeCheckKinds[Data->TypeCheckKind] << (void *)Vtable; in HandleCFIBadType() 114 Diag(Vtable, DL_Note, "invalid vtable"); in HandleCFIBadType() 116 Diag(Vtable, DL_Note, "vtable is of type %0") in HandleCFIBadType() 121 ValueHandle Vtable) { in __ubsan_handle_cfi_bad_type() argument 123 HandleCFIBadType(Data, Vtable, Opts); in __ubsan_handle_cfi_bad_type() 127 ValueHandle Vtable) { in __ubsan_handle_cfi_bad_type_abort() argument 129 HandleCFIBadType(Data, Vtable, Opts); in __ubsan_handle_cfi_bad_type_abort()
|
D | ubsan_handlers_cxx.h | 47 __ubsan_handle_cfi_bad_type(CFIBadTypeData *Data, ValueHandle Vtable); 49 __ubsan_handle_cfi_bad_type_abort(CFIBadTypeData *Data, ValueHandle Vtable);
|
D | ubsan_type_hash.h | 47 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
|
/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 1160 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local 1161 if (!Vtable) { in GetEHType() 1162 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType() 1168 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
|