Home
last modified time | relevance | path

Searched refs:DTI (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/ubsan/
Dubsan_handlers_cxx.cpp41 DynamicTypeInfo DTI = getDynamicTypeInfoFromObject((void*)Pointer); in HandleDynamicTypeCacheMiss() local
42 if (DTI.isValid() && IsVptrCheckSuppressed(DTI.getMostDerivedTypeName())) in HandleDynamicTypeCacheMiss()
57 if (!DTI.isValid()) { in HandleDynamicTypeCacheMiss()
58 if (DTI.getOffset() < -VptrMaxOffsetToTop || DTI.getOffset() > VptrMaxOffsetToTop) { in HandleDynamicTypeCacheMiss()
61 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
65 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
68 } else if (!DTI.getOffset()) in HandleDynamicTypeCacheMiss()
70 << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
75 Diag(Pointer - DTI.getOffset(), DL_Note, ET, in HandleDynamicTypeCacheMiss()
77 << DTI.getOffset() << TypeName(DTI.getMostDerivedTypeName()) in HandleDynamicTypeCacheMiss()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
DDynamicType.cpp48 if (const DynamicTypeInfo *DTI = State->get<DynamicTypeMap>(MR)) in getDynamicTypeInfo() local
49 return *DTI; in getDynamicTypeInfo()
95 const DynamicTypeInfo *DTI = State->get<DynamicClassObjectMap>(Sym); in getClassObjectDynamicTypeInfo() local
96 return DTI ? *DTI : DynamicTypeInfo{}; in getClassObjectDynamicTypeInfo()
202 static raw_ostream &printJson(const DynamicTypeInfo &DTI, raw_ostream &Out, in printJson() argument
205 if (!DTI.isValid()) { in printJson()
208 QualType ToPrint = DTI.getType(); in printJson()
213 << (DTI.canBeASubClass() ? "true" : "false"); in printJson()
DCallEvent.cpp1300 DynamicTypeInfo DTI = getDynamicTypeInfo(getState(), Receiver); in getRuntimeDefinition() local
1301 if (!DTI.isValid()) { in getRuntimeDefinition()
1307 QualType DynType = DTI.getType(); in getRuntimeDefinition()
1308 CanBeSubClassed = DTI.canBeASubClass(); in getRuntimeDefinition()
1330 DynamicTypeInfo DTI = in getRuntimeDefinition() local
1332 if (DTI.isValid()) { in getRuntimeDefinition()
1335 cast<ObjCObjectType>(DTI.getType().getCanonicalType()); in getRuntimeDefinition()
1337 CanBeSubClassed = DTI.canBeASubClass(); in getRuntimeDefinition()
/freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp177 if (DynamicTypeInfo DTI = getDynamicTypeInfo(State, ReceiverRegion)) { in inferReceiverType() local
178 InferredType = DTI.getType().getCanonicalType(); in inferReceiverType()
191 if (DynamicTypeInfo DTI = in inferReceiverType() local
195 return {cast<ObjCObjectType>(DTI.getType()), !DTI.canBeASubClass()}; in inferReceiverType()
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-objdump/
DMachODump.cpp339 dice_table_iterator DTI = in DumpAndSkipDataInCode() local
342 if (DTI != Dices.end()) { in DumpAndSkipDataInCode()
344 DTI->second.getLength(Length); in DumpAndSkipDataInCode()
346 DTI->second.getKind(Kind); in DumpAndSkipDataInCode()
349 (PC == (DTI->first + Length - 1)) && (Length & 1)) in DumpAndSkipDataInCode()