Home
last modified time | relevance | path

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

12

/freebsd/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()
101 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const { in ForEach()
109 std::function<bool(lldb::TypeSP &type_sp)> const &callback) { in ForEach()
[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 DType.cpp182 bool TypeResults::InsertUnique(const lldb::TypeSP &type_sp) { in InsertUnique() argument
183 if (type_sp) in InsertUnique()
184 return m_type_map.InsertUnique(type_sp); in InsertUnique()
255 const lldb::TypeSP &type_sp) in SymbolFileType() argument
256 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType()
257 m_symbol_file(symbol_file), m_type_sp(type_sp) {} in SymbolFileType()
509 lldb::TypeSP type_sp; in GetTypedefType() local
513 type_sp = typedef_type->shared_from_this(); in GetTypedefType()
515 return type_sp; in GetTypedefType()
890 void TypeAndOrName::SetTypeSP(lldb::TypeSP type_sp) { in SetTypeSP() argument
[all …]
H A DSymbolContext.cpp583 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
584 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
586 type_list.Insert(type_sp); in SortTypeList()
592 type_list.ForEach([&type_map](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
593 type_map.Remove(type_sp); in SortTypeList()
602 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
603 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
605 type_list.Insert(type_sp); in SortTypeList()
622 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument
623 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList()
[all …]
/freebsd/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()
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);
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp96 TypeSP type_sp = results.GetFirstType(); in GetTypeInfo() local
97 if (type_sp) in GetTypeInfo()
98 class_types.Insert(type_sp); in GetTypeInfo()
106 for (const auto &type_sp : results.GetTypeMap().Types()) in GetTypeInfo() local
107 class_types.Insert(type_sp); in GetTypeInfo()
110 lldb::TypeSP type_sp; in GetTypeInfo() local
117 type_sp = class_types.GetTypeAtIndex(0); in GetTypeInfo()
118 if (type_sp) { in GetTypeInfo()
120 type_sp->GetForwardCompilerType())) { in GetTypeInfo()
127 type_sp->GetID(), type_sp->GetName().GetCString()); in GetTypeInfo()
[all …]
/freebsd/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.cpp299 FormatManager::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument
300 if (!type_sp) in GetFormatForType()
311 category_sp->GetFormatForType(type_sp); in GetFormatForType()
323 FormatManager::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument
324 if (!type_sp) in GetSummaryForType()
335 category_sp->GetSummaryForType(type_sp); in GetSummaryForType()
347 FormatManager::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument
348 if (!type_sp) in GetFilterForType()
359 (TypeFilterImpl *)category_sp->GetFilterForType(type_sp).get()); in GetFilterForType()
371 FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument
[all …]
H A DTypeFormat.cpp169 for (lldb::TypeSP type_sp : results.GetTypeMap().Types()) { in FormatObject()
170 if (!type_sp) in FormatObject() local
172 if ((type_sp->GetForwardCompilerType().GetTypeInfo() & in FormatObject()
174 valobj_enum_type = type_sp->GetFullCompilerType(); in FormatObject()
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DType.h319 bool InsertUnique(const lldb::TypeSP &type_sp);
367 SymbolFileType(SymbolFile &symbol_file, const lldb::TypeSP &type_sp);
594 TypeImpl(const lldb::TypeSP &type_sp);
598 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
602 void SetType(const lldb::TypeSP &type_sp);
606 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic);
680 lldb::TypeImplSP type_sp; in GetTypeAtIndex() local
682 type_sp = m_content[idx]; in GetTypeAtIndex()
683 return type_sp; in GetTypeAtIndex()
746 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.h578 lldb::TypeSP type_sp (new Type(
582 m_type_list.Insert(type_sp);
583 return type_sp;
590 lldb::TypeSP type_sp(new Type(*other_type)); in CopyType()
591 m_type_list.Insert(type_sp); in CopyType()
592 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/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp222 auto type_sp = dwarf->MakeType( in ParseTypeFromClangModule() local
236 return type_sp; in ParseTypeFromClangModule()
467 TypeSP type_sp; in ParseTypeFromDWARF() local
469 type_sp = ParseTypeFromDWARF(sc, signature_die, type_is_new_ptr); in ParseTypeFromDWARF()
470 if (type_sp) { in ParseTypeFromDWARF()
493 type_sp = ParseTypeModifier(sc, die, attrs); in ParseTypeFromDWARF()
498 type_sp = ParseStructureLikeDIE(sc, die, attrs); in ParseTypeFromDWARF()
501 type_sp = ParseEnum(sc, die, attrs); in ParseTypeFromDWARF()
506 type_sp = ParseSubroutine(die, attrs); in ParseTypeFromDWARF()
509 type_sp = ParseArrayType(die, attrs); in ParseTypeFromDWARF()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DSymbolFileCTF.cpp821 TypeSP type_sp = in ParseFunctions() local
825 m_types[function_type_uid] = type_sp; in ParseFunctions()
830 &cu, func_uid, function_type_uid, symbol->GetMangled(), type_sp.get(), in ParseFunctions()
898 auto type_sp = std::make_shared<SymbolFileType>(*this, type_uid); in ParseObjects() local
906 symbol->GetName().AsCString(), type_sp, eValueTypeVariableGlobal, in ParseObjects()
1007 TypeSP type_sp = *type_or_error; in ResolveTypeUID() local
1011 type_sp->Dump(&ss, true); in ResolveTypeUID()
1012 LLDB_LOGV(log, "Adding type {0}: {1}", type_sp->GetID(), in ResolveTypeUID()
1016 m_types[type_uid] = type_sp; in ResolveTypeUID()
1023 return type_sp.get(); in ResolveTypeUID()
[all …]
/freebsd/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/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObjectMemory.h37 lldb::TypeSP &type_sp);
70 const Address &address, lldb::TypeSP &type_sp);
/freebsd/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()
H A DObjCLanguageRuntime.h134 void SetType(const lldb::TypeSP &type_sp) { m_type_wp = type_sp; } in SetType() argument
270 lldb::TypeSP type_sp);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp212 for (const lldb::TypeSP &type_sp : results.GetTypeMap().Types()) { in FindCompleteType() local
213 CompilerType clang_type(type_sp->GetFullCompilerType()); in FindCompleteType()
239 for (const lldb::TypeSP &type_sp : results.GetTypeMap().Types()) { in FindCompleteType() local
241 CompilerType clang_type(type_sp->GetFullCompilerType()); in FindCompleteType()
598 lldb::TypeSP type_sp; in FindExternalVisibleDecls() local
604 type_sp = results.GetFirstType(); in FindExternalVisibleDecls()
610 type_sp = results.GetFirstType(); in FindExternalVisibleDecls()
613 if (type_sp) { in FindExternalVisibleDecls()
615 const char *name_string = type_sp->GetName().GetCString(); in FindExternalVisibleDecls()
621 CompilerType full_type = type_sp->GetFullCompilerType(); in FindExternalVisibleDecls()
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp394 TypeImplSP type_sp; in GetType() local
396 type_sp = std::make_shared<TypeImpl>(value_sp->GetTypeImpl()); in GetType()
397 sb_type.SetSP(type_sp); in GetType()
557 TypeImplSP type_sp(type.GetSP()); in CreateChildAtOffset() local
560 offset, type_sp->GetCompilerType(false), true), in CreateChildAtOffset()
573 TypeImplSP type_sp(type.GetSP()); in Cast() local
574 if (value_sp && type_sp) in Cast()
575 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DSymbolFileNativePDB.cpp900 SymbolFileTypeSP type_sp = in CreateGlobalVariable() local
923 toOpaqueUid(var_id), name.str().c_str(), global_name.c_str(), type_sp, in CreateGlobalVariable()
940 SymbolFileTypeSP type_sp = in CreateConstantSymbol() local
957 type_sp, eValueTypeVariableGlobal, module.get(), ranges, &decl, location, in CreateConstantSymbol()
1733 TypeSP type_sp = GetOrCreateType(type_idx); in FindTypes() local
1734 if (!type_sp) in FindTypes()
1738 ConstString name = type_sp->GetQualifiedName(); in FindTypes()
1741 results.InsertUnique(type_sp); in FindTypes()
1841 TypeSP type_sp = GetOrCreateType(var_info.type); in CreateLocalVariable() local
1842 if (!type_sp) in CreateLocalVariable()
[all …]

12