Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeCategory.h56 void Add(lldb::TypeNameSpecifierImplSP type_sp, in Add() argument
58 m_subcontainers[type_sp->GetMatchType()]->Add(TypeMatcher(type_sp), in Add()
65 TypeMatcher(type_sp)); in Delete()
224 m_format_cont.Add(type_sp, format_sp); in AddTypeFormat()
236 m_summary_cont.Add(type_sp, summary_sp); in AddTypeSummary()
248 m_filter_cont.Add(type_sp, filter_sp); in AddTypeFilter()
260 m_synth_cont.Add(type_sp, synth_sp); in AddTypeSynthetic()
272 return m_format_cont.Delete(type_sp); in DeleteTypeFormat()
276 return m_summary_cont.Delete(type_sp); in DeleteTypeSummary()
280 return m_filter_cont.Delete(type_sp); in DeleteTypeFilter()
[all …]
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);
/freebsd-14.2/contrib/llvm-project/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()
117 if (type_sp) { in Remove()
118 lldb::user_id_t uid = type_sp->GetID(); in Remove()
[all …]
H A DType.cpp181 if (type_sp) in InsertUnique()
257 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
504 lldb::TypeSP type_sp; in GetTypedefType() local
510 return type_sp; in GetTypedefType()
885 if (type_sp) { in SetTypeSP()
887 m_type_name = type_sp->GetName(); in SetTypeSP()
915 SetType(type_sp); in TypeImpl()
925 SetType(type_sp, dynamic); in TypeImpl()
935 if (type_sp) { in SetType()
952 SetType(type_sp); 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.cpp574 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
575 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
577 type_list.Insert(type_sp); in SortTypeList()
584 type_map.Remove(type_sp); in SortTypeList()
594 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
596 type_list.Insert(type_sp); in SortTypeList()
614 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
616 type_list.Insert(type_sp); in SortTypeList()
633 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
635 type_list.Insert(type_sp); in SortTypeList()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp97 if (type_sp) in GetTypeInfo()
98 class_types.Insert(type_sp); in GetTypeInfo()
107 class_types.Insert(type_sp); in GetTypeInfo()
110 lldb::TypeSP type_sp; in GetTypeInfo() local
118 if (type_sp) { in GetTypeInfo()
127 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfo()
128 type_info.SetTypeSP(type_sp); in GetTypeInfo()
136 if (type_sp) { in GetTypeInfo()
144 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfo()
151 if (type_sp) { in GetTypeInfo()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/DataFormatters/
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 DTypeCategory.cpp250 TypeCategoryImpl::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
251 return m_format_cont.GetForTypeNameSpecifier(type_sp); in GetFormatForType()
255 TypeCategoryImpl::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
256 return m_summary_cont.GetForTypeNameSpecifier(type_sp); in GetSummaryForType()
260 TypeCategoryImpl::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
261 return m_filter_cont.GetForTypeNameSpecifier(type_sp); in GetFilterForType()
265 TypeCategoryImpl::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
266 return m_synth_cont.GetForTypeNameSpecifier(type_sp); in GetSyntheticForType()
H A DFormatManager.cpp295 FormatManager::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
296 if (!type_sp) in GetFormatForType()
307 category_sp->GetFormatForType(type_sp); in GetFormatForType()
319 FormatManager::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
320 if (!type_sp) in GetSummaryForType()
331 category_sp->GetSummaryForType(type_sp); in GetSummaryForType()
343 FormatManager::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
344 if (!type_sp) in GetFilterForType()
355 (TypeFilterImpl *)category_sp->GetFilterForType(type_sp).get()); in GetFilterForType()
367 FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
[all …]
H A DTypeFormat.cpp169 for (lldb::TypeSP type_sp : results.GetTypeMap().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()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp235 return type_sp; in ParseTypeFromClangModule()
487 TypeSP type_sp; in ParseTypeFromDWARF() local
582 TypeSP type_sp; in ParseTypeModifier() local
792 return type_sp; in ParseTypeModifier()
813 TypeSP type_sp; in ParseEnum() local
817 if (type_sp) in ParseEnum()
889 type_sp = in ParseEnum()
910 return type_sp; in ParseEnum()
1525 if (!type_sp) in UpdateSymbolContextScopeForType()
1691 type_sp = in ParseStructureLikeDIE()
[all …]
H A DUniqueDWARFASTType.h26 UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, in UniqueDWARFASTType() argument
28 : m_type_sp(type_sp), m_die(die), m_declaration(decl), in UniqueDWARFASTType()
H A DSymbolFileDWARFDebugMap.cpp1143 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
1145 type_sp = oso_dwarf->FindDefinitionTypeForDWARFDeclContext(die); in FindDefinitionTypeForDWARFDeclContext()
1146 return ((bool)type_sp); in FindDefinitionTypeForDWARFDeclContext()
1148 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
1177 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1203 if (type_sp) { in FindCompleteObjCDefinitionTypeForDIE()
1204 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
1218 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1221 type_sp = oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE()
1223 return (bool)type_sp; in FindCompleteObjCDefinitionTypeForDIE()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DType.h315 bool InsertUnique(const lldb::TypeSP &type_sp);
363 SymbolFileType(SymbolFile &symbol_file, const lldb::TypeSP &type_sp);
563 TypeImpl(const lldb::TypeSP &type_sp);
567 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
571 void SetType(const lldb::TypeSP &type_sp);
575 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
649 lldb::TypeImplSP type_sp; in GetTypeAtIndex() local
651 type_sp = m_content[idx]; in GetTypeAtIndex()
652 return type_sp; in GetTypeAtIndex()
715 TypeAndOrName(lldb::TypeSP &type_sp);
[all …]
H A DTypeMap.h52 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const;
54 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
56 bool Remove(const lldb::TypeSP &type_sp);
H A DSymbolFile.h570 lldb::TypeSP type_sp (new Type(
574 m_type_list.Insert(type_sp);
575 return type_sp;
582 lldb::TypeSP type_sp(new Type(*other_type)); in CopyType()
583 m_type_list.Insert(type_sp); in CopyType()
584 return type_sp; in CopyType()
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);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp819 TypeSP type_sp = in ParseFunctions() local
823 m_types[function_type_uid] = type_sp; in ParseFunctions()
1005 TypeSP type_sp = *type_or_error; in ResolveTypeUID() local
1009 type_sp->Dump(&ss, true); in ResolveTypeUID()
1014 m_types[type_uid] = type_sp; in ResolveTypeUID()
1021 return type_sp.get(); in ResolveTypeUID()
1031 for (TypeSP type_sp : GetTypeList().Types()) { in FindTypes() local
1032 if (type_sp && type_sp->GetName() == name) { in FindTypes()
1033 results.InsertUnique(type_sp); in FindTypes()
1049 if (type_sp && regex.Execute(type_sp->GetName())) in FindTypesByRegex()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DValueObjectMemory.cpp35 lldb::TypeSP &type_sp) { in Create() argument
37 return (new ValueObjectMemory(exe_scope, *manager_sp, name, address, type_sp)) in Create()
55 lldb::TypeSP &type_sp) in ValueObjectMemory() argument
56 : ValueObject(exe_scope, manager), m_address(address), m_type_sp(type_sp), in ValueObjectMemory()
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObjectMemory.h37 lldb::TypeSP &type_sp);
70 const Address &address, lldb::TypeSP &type_sp);
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.cpp145 for (const TypeSP &type_sp : results.GetTypeMap().Types()) { in LookupInCompleteClassCache() local
147 type_sp->GetForwardCompilerType())) { in LookupInCompleteClassCache()
148 if (TypePayloadClang(type_sp->GetPayload()).IsCompleteObjCClass()) { in LookupInCompleteClassCache()
149 m_complete_class_cache[name] = type_sp; in LookupInCompleteClassCache()
150 return type_sp; in LookupInCompleteClassCache()
/freebsd-14.2/contrib/llvm-project/lldb/source/API/
H A DSBModule.cpp445 TypeSP type_sp = results.GetFirstType(); in FindFirstType() local
446 if (type_sp) in FindFirstType()
447 return SBType(type_sp); in FindFirstType()
502 for (const TypeSP &type_sp : results.GetTypeMap().Types()) in FindTypes() local
503 retval.Append(SBType(type_sp)); in FindTypes()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp213 for (const lldb::TypeSP &type_sp : results.GetTypeMap().Types()) { in FindCompleteType() local
214 CompilerType clang_type(type_sp->GetFullCompilerType()); in FindCompleteType()
240 for (const lldb::TypeSP &type_sp : results.GetTypeMap().Types()) { in FindCompleteType() local
242 CompilerType clang_type(type_sp->GetFullCompilerType()); in FindCompleteType()
599 lldb::TypeSP type_sp; in FindExternalVisibleDecls() local
605 type_sp = results.GetFirstType(); in FindExternalVisibleDecls()
611 type_sp = results.GetFirstType(); in FindExternalVisibleDecls()
614 if (type_sp) { in FindExternalVisibleDecls()
616 const char *name_string = type_sp->GetName().GetCString(); in FindExternalVisibleDecls()
622 CompilerType full_type = type_sp->GetFullCompilerType(); in FindExternalVisibleDecls()

12