Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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()
63 bool Delete(lldb::TypeNameSpecifierImplSP type_sp) { in Delete() argument
64 return m_subcontainers[type_sp->GetMatchType()]->Delete( in Delete()
65 TypeMatcher(type_sp)); in Delete()
211 GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp);
214 GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp);
217 GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp);
220 GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp);
222 void AddTypeFormat(lldb::TypeNameSpecifierImplSP type_sp, in AddTypeFormat() argument
[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);
/openbsd-src/gnu/llvm/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()
95 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const { in ForEach()
103 std::function<bool(lldb::TypeSP &type_sp)> const &callback) { in ForEach()
[all …]
H A DType.cpp131 const lldb::TypeSP &type_sp) in SymbolFileType() argument
132 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
133 m_symbol_file(symbol_file), m_type_sp(type_sp) {} in SymbolFileType()
403 lldb::TypeSP type_sp; in GetTypedefType() local
407 type_sp = typedef_type->shared_from_this(); in GetTypedefType()
409 return type_sp; in GetTypedefType()
792 void TypeAndOrName::SetTypeSP(lldb::TypeSP type_sp) { in SetTypeSP() argument
793 if (type_sp) { in SetTypeSP()
794 m_compiler_type = type_sp->GetForwardCompilerType(); in SetTypeSP()
795 m_type_name = type_sp->GetName(); in SetTypeSP()
[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()
577 type_list.ForEach([&type_map](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
578 type_map.Remove(type_sp); in SortTypeList()
587 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
588 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
590 type_list.Insert(type_sp); in SortTypeList()
607 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
608 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
[all …]
/openbsd-src/gnu/llvm/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()
121 type_sp->GetForwardCompilerType())) { in GetTypeInfoFromVTableAddress()
128 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfoFromVTableAddress()
129 type_info.SetTypeSP(type_sp); in GetTypeInfoFromVTableAddress()
136 type_sp = class_types.GetTypeAtIndex(i); 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()
[all …]
/openbsd-src/gnu/llvm/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.cpp170 for (lldb::TypeSP type_sp : types.Types()) { in FormatObject() local
171 if (!type_sp) in FormatObject()
173 if ((type_sp->GetForwardCompilerType().GetTypeInfo() & in FormatObject()
175 valobj_enum_type = type_sp->GetFullCompilerType(); in FormatObject()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp201 auto type_sp = dwarf->MakeType( in ParseTypeFromClangModule() local
206 dwarf->GetDIEToType()[die.GetDIE()] = type_sp.get(); in ParseTypeFromClangModule()
216 return type_sp; in ParseTypeFromClangModule()
446 if (TypeSP type_sp = in ParseTypeFromDWARF() local
448 dwarf->GetDIEToType()[die.GetDIE()] = type_sp.get(); in ParseTypeFromDWARF()
452 return type_sp; in ParseTypeFromDWARF()
462 TypeSP type_sp; in ParseTypeFromDWARF() local
475 type_sp = ParseTypeModifier(sc, die, attrs); in ParseTypeFromDWARF()
482 type_sp = ParseStructureLikeDIE(sc, die, attrs); in ParseTypeFromDWARF()
487 type_sp = ParseEnum(sc, die, attrs); in ParseTypeFromDWARF()
[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.cpp1134 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
1136 type_sp = oso_dwarf->FindDefinitionTypeForDWARFDeclContext(die); in FindDefinitionTypeForDWARFDeclContext()
1137 return ((bool)type_sp); in FindDefinitionTypeForDWARFDeclContext()
1139 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
1168 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1192 TypeSP type_sp(oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE() local
1194 if (type_sp) { in FindCompleteObjCDefinitionTypeForDIE()
1195 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
1209 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1212 type_sp = oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE()
[all …]
H A DSymbolFileDWARF.cpp2693 TypeSP type_sp; in GetTypeForDIE() local
2715 type_sp = ParseType(sc, die, nullptr); in GetTypeForDIE()
2718 type_sp = type_ptr->shared_from_this(); in GetTypeForDIE()
2721 return type_sp; in GetTypeForDIE()
2825 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
2828 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2869 type_sp = resolved_type->shared_from_this(); in FindCompleteObjCDefinitionTypeForDIE()
2872 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2966 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
3097 type_sp = resolved_type->shared_from_this(); in FindDefinitionTypeForDWARFDeclContext()
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Symbol/
H A DType.h54 SymbolFileType(SymbolFile &symbol_file, const lldb::TypeSP &type_sp);
263 TypeImpl(const lldb::TypeSP &type_sp);
267 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
271 void SetType(const lldb::TypeSP &type_sp);
275 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
347 lldb::TypeImplSP type_sp; in GetTypeAtIndex() local
349 type_sp = m_content[idx]; in GetTypeAtIndex()
350 return type_sp; in GetTypeAtIndex()
413 TypeAndOrName(lldb::TypeSP &type_sp);
430 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 DSymbolFile.h518 lldb::TypeSP type_sp (new Type(
522 m_type_list.Insert(type_sp);
523 return type_sp;
530 lldb::TypeSP type_sp(new Type(*other_type)); in CopyType()
531 m_type_list.Insert(type_sp); in CopyType()
532 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);
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/lldb/include/lldb/Core/
H A DValueObjectMemory.h37 lldb::TypeSP &type_sp);
70 const Address &address, lldb::TypeSP &type_sp);
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/
H A DObjCLanguageRuntime.cpp152 TypeSP type_sp(types.GetTypeAtIndex(i)); in LookupInCompleteClassCache() local
155 type_sp->GetForwardCompilerType())) { in LookupInCompleteClassCache()
156 if (TypePayloadClang(type_sp->GetPayload()).IsCompleteObjCClass()) { in LookupInCompleteClassCache()
157 m_complete_class_cache[name] = type_sp; in LookupInCompleteClassCache()
158 return type_sp; in LookupInCompleteClassCache()
H A DObjCLanguageRuntime.h127 void SetType(const lldb::TypeSP &type_sp) { m_type_wp = type_sp; } in SetType() argument
263 lldb::TypeSP type_sp);
/openbsd-src/gnu/llvm/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()

12