Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Symbol/
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 …]
DType.cpp129 const lldb::TypeSP &type_sp) in SymbolFileType() argument
130 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
131 m_symbol_file(symbol_file), m_type_sp(type_sp) {} in SymbolFileType()
394 lldb::TypeSP type_sp; in GetTypedefType() local
398 type_sp = typedef_type->shared_from_this(); in GetTypedefType()
400 return type_sp; in GetTypedefType()
779 void TypeAndOrName::SetTypeSP(lldb::TypeSP type_sp) { in SetTypeSP() argument
780 if (type_sp) { in SetTypeSP()
781 m_compiler_type = type_sp->GetForwardCompilerType(); in SetTypeSP()
782 m_type_name = type_sp->GetName(); in SetTypeSP()
[all …]
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()
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()
583 type_list.ForEach([&type_map](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
584 type_map.Remove(type_sp); in SortTypeList()
593 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
594 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
596 type_list.Insert(type_sp); in SortTypeList()
613 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
614 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
[all …]
/external/llvm-project/lldb/source/DataFormatters/
DTypeCategory.cpp320 TypeCategoryImpl::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
323 if (type_sp) { in GetFormatForType()
324 if (type_sp->IsRegex()) in GetFormatForType()
325 GetRegexTypeFormatsContainer()->GetExact(ConstString(type_sp->GetName()), in GetFormatForType()
328 GetTypeFormatsContainer()->GetExact(ConstString(type_sp->GetName()), in GetFormatForType()
336 TypeCategoryImpl::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
339 if (type_sp) { in GetSummaryForType()
340 if (type_sp->IsRegex()) in GetSummaryForType()
342 ConstString(type_sp->GetName()), retval); in GetSummaryForType()
344 GetTypeSummariesContainer()->GetExact(ConstString(type_sp->GetName()), in GetSummaryForType()
[all …]
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()
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 …]
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()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
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 …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFASTParserClang.cpp212 TypeSP type_sp(new Type(die.GetID(), dwarf, pcm_type_sp->GetName(), in ParseTypeFromClangModule() local
219 dwarf->GetTypeList().Insert(type_sp); in ParseTypeFromClangModule()
220 dwarf->GetDIEToType()[die.GetDIE()] = type_sp.get(); in ParseTypeFromClangModule()
230 return type_sp; in ParseTypeFromClangModule()
474 if (TypeSP type_sp = in ParseTypeFromDWARF() local
476 dwarf->GetDIEToType()[die.GetDIE()] = type_sp.get(); in ParseTypeFromDWARF()
480 return type_sp; in ParseTypeFromDWARF()
490 TypeSP type_sp; in ParseTypeFromDWARF() local
503 type_sp = ParseTypeModifier(sc, die, attrs); in ParseTypeFromDWARF()
510 type_sp = ParseStructureLikeDIE(sc, die, attrs); in ParseTypeFromDWARF()
[all …]
DUniqueDWARFASTType.h28 UniqueDWARFASTType(lldb::TypeSP &type_sp, const DWARFDIE &die, in UniqueDWARFASTType() argument
30 : m_type_sp(type_sp), m_die(die), m_declaration(decl), in UniqueDWARFASTType()
DSymbolFileDWARFDebugMap.cpp1093 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
1095 type_sp = oso_dwarf->FindDefinitionTypeForDWARFDeclContext(die_decl_ctx); in FindDefinitionTypeForDWARFDeclContext()
1096 return ((bool)type_sp); in FindDefinitionTypeForDWARFDeclContext()
1098 return type_sp; in FindDefinitionTypeForDWARFDeclContext()
1127 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1151 TypeSP type_sp(oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE() local
1153 if (type_sp) { in FindCompleteObjCDefinitionTypeForDIE()
1154 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
1168 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
1171 type_sp = oso_dwarf->FindCompleteObjCDefinitionTypeForDIE( in FindCompleteObjCDefinitionTypeForDIE()
[all …]
DSymbolFileDWARF.cpp2543 TypeSP type_sp; in GetTypeForDIE() local
2565 type_sp = ParseType(sc, die, nullptr); in GetTypeForDIE()
2568 type_sp = type_ptr->shared_from_this(); in GetTypeForDIE()
2571 return type_sp; in GetTypeForDIE()
2675 TypeSP type_sp; in FindCompleteObjCDefinitionTypeForDIE() local
2678 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2719 type_sp = resolved_type->shared_from_this(); in FindCompleteObjCDefinitionTypeForDIE()
2722 return type_sp; in FindCompleteObjCDefinitionTypeForDIE()
2816 TypeSP type_sp; in FindDefinitionTypeForDWARFDeclContext() local
2927 type_sp = resolved_type->shared_from_this(); in FindDefinitionTypeForDWARFDeclContext()
[all …]
/external/llvm-project/lldb/include/lldb/DataFormatters/
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);
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);
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);
/external/llvm-project/lldb/include/lldb/Symbol/
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()
398 TypeAndOrName(lldb::TypeSP &type_sp);
415 void SetTypeSP(lldb::TypeSP type_sp);
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);
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);
/external/llvm-project/lldb/source/Core/
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()
/external/llvm-project/lldb/include/lldb/Core/
DValueObjectMemory.h36 lldb::TypeSP &type_sp);
69 const Address &address, lldb::TypeSP &type_sp);
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
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()
DObjCLanguageRuntime.h117 void SetType(const lldb::TypeSP &type_sp) { m_type_wp = type_sp; } in SetType() argument
245 lldb::TypeSP type_sp);
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
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()
/external/llvm-project/lldb/source/API/
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()

12