Home
last modified time | relevance | path

Searched refs:type_sp (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Symbol/
H A DTypeMap.cpp27 void TypeMap::Insert(const TypeSP &type_sp) { in Insert() argument
30 if (type_sp) in Insert()
31 m_types.insert(std::make_pair(type_sp->GetID(), type_sp)); in Insert()
34 bool TypeMap::InsertUnique(const TypeSP &type_sp) { in InsertUnique() argument
35 if (type_sp) { in InsertUnique()
36 user_id_t type_uid = type_sp->GetID(); in InsertUnique()
41 if (pos->second.get() == type_sp.get()) in InsertUnique()
44 Insert(type_sp); in InsertUnique()
111 if (type_sp) { in Remove()
112 lldb::user_id_t uid = type_sp->GetID(); in Remove()
[all …]
H A DType.cpp131 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
393 lldb::TypeSP type_sp; in GetTypedefType() local
399 return type_sp; in GetTypedefType()
778 if (type_sp) { in SetTypeSP()
780 m_type_name = type_sp->GetName(); in SetTypeSP()
808 SetType(type_sp); in TypeImpl()
818 SetType(type_sp, dynamic); in TypeImpl()
828 if (type_sp) { in SetType()
830 m_exe_module_wp = type_sp->GetExeModule(); in SetType()
831 m_module_wp = type_sp->GetModule(); in SetType()
[all …]
H A DTypeList.cpp27 void TypeList::Insert(const TypeSP &type_sp) { in Insert() argument
30 if (type_sp) in Insert()
31 m_types.push_back(type_sp); in Insert()
79 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const { in ForEach()
87 std::function<bool(lldb::TypeSP &type_sp)> const &callback) { in ForEach()
H A DSymbolContext.cpp568 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
569 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
571 type_list.Insert(type_sp); in SortTypeList()
578 type_map.Remove(type_sp); in SortTypeList()
588 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
590 type_list.Insert(type_sp); in SortTypeList()
608 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
610 type_list.Insert(type_sp); in SortTypeList()
627 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
629 type_list.Insert(type_sp); in SortTypeList()
[all …]
/llvm-project-15.0.7/lldb/source/DataFormatters/
H A DTypeCategory.cpp323 if (type_sp) { in GetFormatForType()
324 if (type_sp->IsRegex()) in GetFormatForType()
328 GetTypeFormatsContainer()->GetExact(ConstString(type_sp->GetName()), in GetFormatForType()
339 if (type_sp) { in GetSummaryForType()
340 if (type_sp->IsRegex()) in GetSummaryForType()
342 ConstString(type_sp->GetName()), retval); in GetSummaryForType()
355 if (type_sp) { in GetFilterForType()
356 if (type_sp->IsRegex()) in GetFilterForType()
371 if (type_sp) { in GetSyntheticForType()
372 if (type_sp->IsRegex()) in GetSyntheticForType()
[all …]
H A DDataVisualization.cpp37 DataVisualization::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
38 return GetFormatManager().GetFormatForType(type_sp); in GetFormatForType()
48 DataVisualization::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
49 return GetFormatManager().GetSummaryForType(type_sp); in GetSummaryForType()
59 DataVisualization::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
60 return GetFormatManager().GetFilterForType(type_sp); in GetFilterForType()
64 DataVisualization::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
65 return GetFormatManager().GetSyntheticForType(type_sp); in GetSyntheticForType()
H A DFormatManager.cpp305 FormatManager::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
306 if (!type_sp) in GetFormatForType()
317 category_sp->GetFormatForType(type_sp); in GetFormatForType()
329 FormatManager::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
330 if (!type_sp) in GetSummaryForType()
341 category_sp->GetSummaryForType(type_sp); in GetSummaryForType()
353 FormatManager::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
354 if (!type_sp) in GetFilterForType()
365 (TypeFilterImpl *)category_sp->GetFilterForType(type_sp).get()); in GetFilterForType()
377 FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
[all …]
H A DTypeFormat.cpp169 for (lldb::TypeSP type_sp : types.Types()) { in FormatObject() local
170 if (!type_sp) in FormatObject()
172 if ((type_sp->GetForwardCompilerType().GetTypeInfo() & in FormatObject()
174 valobj_enum_type = type_sp->GetFullCompilerType(); in FormatObject()
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp111 lldb::TypeSP type_sp; in GetTypeInfoFromVTableAddress() local
118 type_sp = class_types.GetTypeAtIndex(0); in GetTypeInfoFromVTableAddress()
119 if (type_sp) { in GetTypeInfoFromVTableAddress()
128 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
129 type_info.SetTypeSP(type_sp); in GetTypeInfoFromVTableAddress()
137 if (type_sp) { in GetTypeInfoFromVTableAddress()
144 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
150 type_sp = class_types.GetTypeAtIndex(i); in GetTypeInfoFromVTableAddress()
151 if (type_sp) { in GetTypeInfoFromVTableAddress()
160 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp218 return type_sp; in ParseTypeFromClangModule()
477 TypeSP type_sp; in ParseTypeFromDWARF() local
544 TypeSP type_sp; in ParseTypeModifier() local
754 return type_sp; in ParseTypeModifier()
763 TypeSP type_sp; in ParseEnum() local
767 if (type_sp) in ParseEnum()
862 return type_sp; in ParseEnum()
1331 return type_sp; in ParseArrayType()
1476 if (!type_sp) in UpdateSymbolContextScopeForType()
1587 type_sp = in ParseStructureLikeDIE()
[all …]
H A DUniqueDWARFASTType.h24 UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, in UniqueDWARFASTType() argument
26 : m_type_sp(type_sp), m_die(die), m_declaration(decl), in UniqueDWARFASTType()
H A DSymbolFileDWARFDebugMap.cpp1082 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
1084 type_sp = oso_dwarf->FindDefinitionTypeForDWARFDeclContext(die_decl_ctx); in FindDefinitionTypeForDWARFDeclContext()
1085 return ((bool)type_sp); in FindDefinitionTypeForDWARFDeclContext()
1087 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
1116 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1142 if (type_sp) { in FindCompleteObjCDefinitionTypeForDIE()
1143 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
1157 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1160 type_sp = oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE()
1162 return (bool)type_sp; in FindCompleteObjCDefinitionTypeForDIE()
[all …]
H A DSymbolFileDWARF.cpp2581 TypeSP type_sp; in GetTypeForDIE() local
2603 type_sp = ParseType(sc, die, nullptr); in GetTypeForDIE()
2609 return type_sp; in GetTypeForDIE()
2713 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
2716 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2760 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2854 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
2968 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
2988 if (type_sp) { in ParseType()
2989 GetTypeList().Insert(type_sp); in ParseType()
[all …]
/llvm-project-15.0.7/lldb/include/lldb/DataFormatters/
H A DDataVisualization.h36 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
42 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
45 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
48 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
H A DFormatManager.h110 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
113 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
116 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
119 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
H A DTypeCategory.h235 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
238 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
241 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
244 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DType.h52 SymbolFileType(SymbolFile &symbol_file, const lldb::TypeSP &type_sp);
250 TypeImpl(const lldb::TypeSP &type_sp);
254 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
258 void SetType(const lldb::TypeSP &type_sp);
262 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
334 lldb::TypeImplSP type_sp; in GetTypeAtIndex() local
336 type_sp = m_content[idx]; in GetTypeAtIndex()
337 return type_sp; in GetTypeAtIndex()
400 TypeAndOrName(lldb::TypeSP &type_sp);
417 void SetTypeSP(lldb::TypeSP type_sp);
H A DTypeMap.h50 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
52 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
54 bool Remove(const lldb::TypeSP &type_sp);
H A DTypeList.h48 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
50 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
/llvm-project-15.0.7/lldb/source/Core/
H A DValueObjectMemory.cpp34 lldb::TypeSP &type_sp) { in Create() argument
36 return (new ValueObjectMemory(exe_scope, *manager_sp, name, address, type_sp)) in Create()
54 lldb::TypeSP &type_sp) in ValueObjectMemory() argument
55 : ValueObject(exe_scope, manager), m_address(address), m_type_sp(type_sp), in ValueObjectMemory()
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DValueObjectMemory.h36 lldb::TypeSP &type_sp);
69 const Address &address, lldb::TypeSP &type_sp);
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.cpp151 TypeSP type_sp(types.GetTypeAtIndex(i)); in LookupInCompleteClassCache() local
154 type_sp->GetForwardCompilerType())) { in LookupInCompleteClassCache()
155 if (TypePayloadClang(type_sp->GetPayload()).IsCompleteObjCClass()) { in LookupInCompleteClassCache()
156 m_complete_class_cache[name] = type_sp; in LookupInCompleteClassCache()
157 return type_sp; in LookupInCompleteClassCache()
H A DObjCLanguageRuntime.h126 void SetType(const lldb::TypeSP &type_sp) { m_type_wp = type_sp; } in SetType() argument
262 lldb::TypeSP type_sp);
/llvm-project-15.0.7/lldb/source/API/
H A DSBValue.cpp397 TypeImplSP type_sp; in GetType() local
399 type_sp = std::make_shared<TypeImpl>(value_sp->GetTypeImpl()); in GetType()
400 sb_type.SetSP(type_sp); in GetType()
564 TypeImplSP type_sp(type.GetSP()); in CreateChildAtOffset() local
567 offset, type_sp->GetCompilerType(false), true), in CreateChildAtOffset()
580 TypeImplSP type_sp(type.GetSP()); in Cast() local
581 if (value_sp && type_sp) in Cast()
582 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
H A DSBModule.cpp504 TypeSP type_sp(type_list.GetTypeAtIndex(idx)); in FindTypes() local
505 if (type_sp) in FindTypes()
506 retval.Append(SBType(type_sp)); in FindTypes()

12