| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | TypeMap.cpp | 27 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 D | TypeList.cpp | 27 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 D | Type.cpp | 193 bool TypeResults::InsertUnique(const lldb::TypeSP &type_sp) { in InsertUnique() argument 194 if (type_sp) in InsertUnique() 195 return m_type_map.InsertUnique(type_sp); in InsertUnique() 263 const lldb::TypeSP &type_sp) in SymbolFileType() argument 264 : UserID(type_sp ? type_sp->GetID() : LLDB_INVALID_UID), in SymbolFileType() 265 m_symbol_file(symbol_file), m_type_sp(type_sp) {} in SymbolFileType() 522 lldb::TypeSP type_sp; in GetTypedefType() local 526 type_sp = typedef_type->shared_from_this(); in GetTypedefType() 528 return type_sp; in GetTypedefType() 911 void TypeAndOrName::SetTypeSP(lldb::TypeSP type_sp) { in SetTypeSP() argument [all …]
|
| H A D | SymbolContext.cpp | 540 [curr_block, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument 541 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList() 543 type_list.Insert(type_sp); in SortTypeList() 549 type_list.ForEach([&type_map](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument 550 type_map.Remove(type_sp); in SortTypeList() 559 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument 560 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList() 562 type_list.Insert(type_sp); in SortTypeList() 579 type_map.ForEach([this, &type_list](const lldb::TypeSP &type_sp) -> bool { in SortTypeList() argument 580 SymbolContextScope *scs = type_sp->GetSymbolContextScope(); in SortTypeList() [all …]
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/ |
| H A D | TypeCategory.h | 56 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 D | DataVisualization.h | 36 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 D | FormatManager.h | 110 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 D | ItaniumABILanguageRuntime.cpp | 96 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() 126 in_value.GetTypeName().AsCString(), type_sp->GetID(), in GetTypeInfo() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/DataFormatters/ |
| H A D | DataVisualization.cpp | 37 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 D | TypeCategory.cpp | 250 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 D | FormatManager.cpp | 307 FormatManager::GetFormatForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFormatForType() argument 308 if (!type_sp) in GetFormatForType() 319 category_sp->GetFormatForType(type_sp); in GetFormatForType() 331 FormatManager::GetSummaryForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSummaryForType() argument 332 if (!type_sp) in GetSummaryForType() 343 category_sp->GetSummaryForType(type_sp); in GetSummaryForType() 355 FormatManager::GetFilterForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetFilterForType() argument 356 if (!type_sp) in GetFilterForType() 367 (TypeFilterImpl *)category_sp->GetFilterForType(type_sp).get()); in GetFilterForType() 379 FormatManager::GetSyntheticForType(lldb::TypeNameSpecifierImplSP type_sp) { in GetSyntheticForType() argument [all …]
|
| H A D | TypeFormat.cpp | 173 for (lldb::TypeSP type_sp : results.GetTypeMap().Types()) { in FormatObject() local 174 if (!type_sp) in FormatObject() 176 if ((type_sp->GetForwardCompilerType().GetTypeInfo() & in FormatObject() 178 valobj_enum_type = type_sp->GetFullCompilerType(); in FormatObject()
|
| /freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/ |
| H A D | TypeMap.h | 53 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const; 55 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback); 57 bool Remove(const lldb::TypeSP &type_sp);
|
| H A D | Type.h | 355 bool InsertUnique(const lldb::TypeSP &type_sp); 403 SymbolFileType(SymbolFile &symbol_file, const lldb::TypeSP &type_sp); 630 TypeImpl(const lldb::TypeSP &type_sp); 634 TypeImpl(const lldb::TypeSP &type_sp, const CompilerType &dynamic); 638 void SetType(const lldb::TypeSP &type_sp); 642 void SetType(const lldb::TypeSP &type_sp, const CompilerType &dynamic); 716 lldb::TypeImplSP type_sp; in GetTypeAtIndex() local 718 type_sp = m_content[idx]; in GetTypeAtIndex() 719 return type_sp; in GetTypeAtIndex() 782 TypeAndOrName(lldb::TypeSP &type_sp); [all …]
|
| H A D | SymbolFile.h | 602 lldb::TypeSP type_sp (new Type( 606 m_type_list.Insert(type_sp); 607 return type_sp; 614 lldb::TypeSP type_sp(new Type(*other_type)); in CopyType() 615 m_type_list.Insert(type_sp); in CopyType() 616 return type_sp; in CopyType()
|
| H A D | TypeList.h | 47 std::function<bool(const lldb::TypeSP &type_sp)> const &callback) const; 49 void ForEach(std::function<bool(lldb::TypeSP &type_sp)> const &callback);
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.cpp | 315 auto type_sp = dwarf->MakeType( in ParseTypeFromClangModule() local 330 return type_sp; in ParseTypeFromClangModule() 561 TypeSP type_sp; in ParseTypeFromDWARF() local 563 type_sp = ParseTypeFromDWARF(sc, signature_die, type_is_new_ptr); in ParseTypeFromDWARF() 564 if (type_sp) { in ParseTypeFromDWARF() 587 type_sp = ParseTypeModifier(sc, die, attrs); in ParseTypeFromDWARF() 592 type_sp = ParseStructureLikeDIE(sc, die, attrs); in ParseTypeFromDWARF() 595 type_sp = ParseEnum(sc, die, attrs); in ParseTypeFromDWARF() 600 type_sp = ParseSubroutine(die, attrs); in ParseTypeFromDWARF() 603 type_sp = ParseArrayType(die, attrs); in ParseTypeFromDWARF() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
| H A D | SymbolFileCTF.cpp | 819 TypeSP type_sp = in ParseFunctions() local 823 m_types[function_type_uid] = type_sp; in ParseFunctions() 828 &cu, func_uid, function_type_uid, symbol->GetMangled(), type_sp.get(), in ParseFunctions() 896 auto type_sp = std::make_shared<SymbolFileType>(*this, type_uid); in ParseObjects() local 904 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/ValueObject/ |
| H A D | ValueObjectMemory.cpp | 35 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/ValueObject/ |
| H A D | ValueObjectMemory.h | 37 lldb::TypeSP &type_sp); 70 const Address &address, lldb::TypeSP &type_sp);
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/ |
| H A D | ObjCLanguageRuntime.cpp | 145 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 D | ObjCLanguageRuntime.h | 134 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 D | ClangASTSource.cpp | 213 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()
|
| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBModule.cpp | 445 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()
|
| H A D | SBValue.cpp | 396 TypeImplSP type_sp; in GetType() local 398 type_sp = std::make_shared<TypeImpl>(value_sp->GetTypeImpl()); in GetType() 399 sb_type.SetSP(type_sp); in GetType() 559 TypeImplSP type_sp(type.GetSP()); in CreateChildAtOffset() local 562 offset, type_sp->GetCompilerType(false), true), in CreateChildAtOffset() 575 TypeImplSP type_sp(type.GetSP()); in Cast() local 576 if (value_sp && type_sp) in Cast() 577 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)), in Cast()
|