Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
111 if (type_sp) { in Remove()
112 lldb::user_id_t uid = type_sp->GetID(); in Remove()
[all …]
H A DType.cpp130 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
392 lldb::TypeSP type_sp; in GetTypedefType() local
398 return type_sp; in GetTypedefType()
779 if (type_sp) { in SetTypeSP()
781 m_type_name = type_sp->GetName(); in SetTypeSP()
809 SetType(type_sp); in TypeImpl()
819 SetType(type_sp, dynamic); in TypeImpl()
829 if (type_sp) { in SetType()
831 m_exe_module_wp = type_sp->GetExeModule(); in SetType()
832 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.cpp572 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
573 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
575 type_list.Insert(type_sp); in SortTypeList()
582 type_map.Remove(type_sp); in SortTypeList()
592 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
594 type_list.Insert(type_sp); in SortTypeList()
612 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
614 type_list.Insert(type_sp); in SortTypeList()
631 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
633 type_list.Insert(type_sp); in SortTypeList()
[all …]
/freebsd-13.1/contrib/llvm-project/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.cpp306 FormatManager::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
307 if (!type_sp) in GetFormatForType()
318 category_sp->GetFormatForType(type_sp); in GetFormatForType()
330 FormatManager::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
331 if (!type_sp) in GetSummaryForType()
342 category_sp->GetSummaryForType(type_sp); in GetSummaryForType()
354 FormatManager::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
355 if (!type_sp) in GetFilterForType()
366 (TypeFilterImpl *)category_sp->GetFilterForType(type_sp).get()); in GetFilterForType()
378 FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
[all …]
H A DTypeFormat.cpp168 for (lldb::TypeSP type_sp : types.Types()) { in FormatObject() local
169 if (!type_sp) in FormatObject()
171 if ((type_sp->GetForwardCompilerType().GetTypeInfo() & in FormatObject()
173 valobj_enum_type = type_sp->GetFullCompilerType(); in FormatObject()
/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp230 return type_sp; in ParseTypeFromClangModule()
490 TypeSP type_sp; in ParseTypeFromDWARF() local
558 TypeSP type_sp; in ParseTypeModifier() local
768 return type_sp; in ParseTypeModifier()
778 TypeSP type_sp; in ParseEnum() local
782 if (type_sp) in ParseEnum()
876 return type_sp; in ParseEnum()
1349 return type_sp; in ParseArrayType()
1377 if (!type_sp) in UpdateSymbolContextScopeForType()
1494 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.cpp1090 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
1092 type_sp = oso_dwarf->FindDefinitionTypeForDWARFDeclContext(die_decl_ctx); in FindDefinitionTypeForDWARFDeclContext()
1093 return ((bool)type_sp); in FindDefinitionTypeForDWARFDeclContext()
1095 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
1124 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1150 if (type_sp) { in FindCompleteObjCDefinitionTypeForDIE()
1151 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
1165 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1168 type_sp = oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE()
1170 return (bool)type_sp; in FindCompleteObjCDefinitionTypeForDIE()
[all …]
H A DSymbolFileDWARF.cpp2486 TypeSP type_sp; in GetTypeForDIE() local
2508 type_sp = ParseType(sc, die, nullptr); in GetTypeForDIE()
2514 return type_sp; in GetTypeForDIE()
2618 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
2621 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2665 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2759 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
2875 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
2895 if (type_sp) { in ParseType()
2896 GetTypeList().Insert(type_sp); in ParseType()
[all …]
/freebsd-13.1/contrib/llvm-project/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);
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DType.h52 SymbolFileType(SymbolFile &symbol_file, const lldb::TypeSP &type_sp);
244 TypeImpl(const lldb::TypeSP &type_sp);
248 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
252 void SetType(const lldb::TypeSP &type_sp);
256 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
328 lldb::TypeImplSP type_sp; in GetTypeAtIndex() local
330 type_sp = m_content[idx]; in GetTypeAtIndex()
331 return type_sp; in GetTypeAtIndex()
397 TypeAndOrName(lldb::TypeSP &type_sp);
414 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);
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObjectMemory.h36 lldb::TypeSP &type_sp);
69 const Address &address, lldb::TypeSP &type_sp);
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.cpp128 TypeSP type_sp(types.GetTypeAtIndex(i)); in LookupInCompleteClassCache() local
131 type_sp->GetForwardCompilerType())) { in LookupInCompleteClassCache()
132 if (TypePayloadClang(type_sp->GetPayload()).IsCompleteObjCClass()) { in LookupInCompleteClassCache()
133 m_complete_class_cache[name] = type_sp; in LookupInCompleteClassCache()
134 return type_sp; in LookupInCompleteClassCache()
H A DObjCLanguageRuntime.h125 void SetType(const lldb::TypeSP &type_sp) { m_type_wp = type_sp; } in SetType() argument
253 lldb::TypeSP type_sp);
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp400 TypeImplSP type_sp; in GetType() local
402 type_sp = std::make_shared<TypeImpl>(value_sp->GetTypeImpl()); in GetType()
403 sb_type.SetSP(type_sp); in GetType()
573 TypeImplSP type_sp(type.GetSP()); in CreateChildAtOffset() local
576 offset, type_sp->GetCompilerType(false), true), in CreateChildAtOffset()
589 TypeImplSP type_sp(type.GetSP()); in Cast() local
590 if (value_sp && type_sp) in Cast()
591 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp780 SymbolFileTypeSP type_sp = in CreateGlobalVariable() local
795 toOpaqueUid(var_id), name.str().c_str(), global_name.c_str(), type_sp, in CreateGlobalVariable()
812 SymbolFileTypeSP type_sp = in CreateConstantSymbol() local
827 type_sp, eValueTypeVariableGlobal, module.get(), ranges, &decl, location, in CreateConstantSymbol()
1322 TypeSP type_sp = GetOrCreateType(var_info.type); in CreateLocalVariable() local
1326 std::make_shared<SymbolFileType>(*this, type_sp->GetID()); in CreateLocalVariable()
1532 TypeSP type_sp = CreateAndCacheType(type_id); in ResolveTypeUID() local
1533 return &*type_sp; in ResolveTypeUID()

12