Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
HDubsan_type_hash_itanium.cpp196 VtablePrefix *getVtablePrefix(void *Vtable) { in getVtablePrefix() argument
197 VtablePrefix *Vptr = reinterpret_cast<VtablePrefix*>(Vtable); in getVtablePrefix()
221 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in checkDynamicType() local
222 if (!Vtable) in checkDynamicType()
224 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) { in checkDynamicType()
231 dynamic_cast<abi::__class_type_info*>(Vtable->TypeInfo); in checkDynamicType()
236 if (!isDerivedFromAtOffset(Derived, Base, -Vtable->Offset)) in checkDynamicType()
247 VtablePrefix *Vtable = getVtablePrefix(VtablePtr); in getDynamicTypeInfoFromVtable() local
248 if (!Vtable) in getDynamicTypeInfoFromVtable()
250 if (Vtable->Offset < -VptrMaxOffsetToTop || Vtable->Offset > VptrMaxOffsetToTop) in getDynamicTypeInfoFromVtable()
[all …]
HDubsan_handlers_cxx.cpp98 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable, in __ubsan_handle_cfi_bad_type() argument
108 ? getDynamicTypeInfoFromVtable((void *)Vtable) in __ubsan_handle_cfi_bad_type()
136 << Data->Type << CheckKindStr << (void *)Vtable; in __ubsan_handle_cfi_bad_type()
140 Diag(Vtable, DL_Note, ET, "invalid vtable"); in __ubsan_handle_cfi_bad_type()
142 Diag(Vtable, DL_Note, ET, "vtable is of type %0") in __ubsan_handle_cfi_bad_type()
147 const char *DstModule = Symbolizer::GetOrInit()->GetModuleNameForPc(Vtable); in __ubsan_handle_cfi_bad_type()
HDubsan_type_hash.h46 DynamicTypeInfo getDynamicTypeInfoFromVtable(void *Vtable);
HDubsan_handlers.h223 CFICheckFailData *Data, ValueHandle Vtable, bool ValidVtable,
HDubsan_handlers.cpp800 ValueHandle Vtable, in __ubsan_handle_cfi_bad_type_default() argument
810 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
814 void __ubsan_handle_cfi_bad_type(CFICheckFailData *Data, ValueHandle Vtable,
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCGObjCGNU.cpp2428 auto *Vtable = TheModule.getGlobalVariable(vtableName); in GetEHType() local
2429 if (!Vtable) { in GetEHType()
2430 Vtable = new llvm::GlobalVariable(TheModule, PtrToInt8Ty, true, in GetEHType()
2436 llvm::ConstantExpr::getGetElementPtr(Vtable->getValueType(), Vtable, Two), in GetEHType()
/freebsd-11-stable/contrib/binutils/gas/
HDChangeLog-98992435 * config/tc-d10v.c (tc_gen_reloc): Handle Vtable relocs.
2436 (md_apply_fix3): Handle Vtable relocs.
/freebsd-11-stable/contrib/gcc/cp/
HDChangeLog-20022980 (build_base_path): Vtable contents are constant.