| /src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DIERef.h | 30 class DIERef { 33 DIERef(std::optional<uint32_t> file_index, Section section, in DIERef() function 40 explicit DIERef(lldb::user_id_t uid) { in DIERef() function 69 bool operator<(DIERef other) const { 79 bool operator==(const DIERef &rhs) const { 84 bool operator!=(const DIERef &rhs) const { return !(*this == rhs); } 98 static std::optional<DIERef> Decode(const DataExtractor &data, 133 static_assert(sizeof(DIERef) == 8); 135 typedef std::vector<DIERef> DIEArray; 140 template <> struct format_provider<lldb_private::plugin::dwarf::DIERef> { [all …]
|
| H A D | DIERef.cpp | 19 void llvm::format_provider<DIERef>::format(const DIERef &ref, raw_ostream &OS, in format() 23 OS << (ref.section() == DIERef::DebugInfo ? "INFO" : "TYPE"); in format() 27 std::optional<DIERef> DIERef::Decode(const DataExtractor &data, in Decode() 29 DIERef die_ref(data.GetU64(offset_ptr)); in Decode() 39 void DIERef::Encode(DataEncoder &encoder) const { encoder.AppendU64(get_id()); } in Encode()
|
| H A D | NameToDIE.cpp | 26 m_map.Sort(std::less<DIERef>()); in Finalize() 30 void NameToDIE::Insert(ConstString name, const DIERef &die_ref) { in Insert() 35 llvm::function_ref<bool(DIERef ref)> callback) const { in Find() 43 llvm::function_ref<bool(DIERef ref)> callback) const { in Find() 53 DWARFUnit &s_unit, llvm::function_ref<bool(DIERef ref)> callback) const { in FindAllEntriesForUnit() 57 const DIERef &die_ref = m_map.GetValueAtIndexUnchecked(i); in FindAllEntriesForUnit() 77 std::function<bool(ConstString name, const DIERef &die_ref)> const in ForEach() 110 if (std::optional<DIERef> die_ref = DIERef::Decode(data, offset_ptr)) in Decode() 124 m_map.Sort(std::less<DIERef>()); in Decode()
|
| H A D | NameToDIE.h | 31 void Insert(ConstString name, const DIERef &die_ref); 38 llvm::function_ref<bool(DIERef ref)> callback) const; 41 llvm::function_ref<bool(DIERef ref)> callback) const; 46 llvm::function_ref<bool(DIERef ref)> callback) const; 49 ForEach(std::function<bool(ConstString name, const DIERef &die_ref)> const 89 UniqueCStringMap<DIERef> m_map;
|
| H A D | DWARFDebugInfo.cpp | 79 void DWARFDebugInfo::ParseUnitsFor(DIERef::Section section) { in ParseUnitsFor() 80 DWARFDataExtractor data = section == DIERef::Section::DebugTypes in ParseUnitsFor() 175 ParseUnitsFor(DIERef::Section::DebugInfo); in ParseUnitHeadersIfNeeded() 176 ParseUnitsFor(DIERef::Section::DebugTypes); in ParseUnitHeadersIfNeeded() 193 uint32_t DWARFDebugInfo::FindUnitIndex(DIERef::Section section, in FindUnitIndex() 201 [](const std::pair<DIERef::Section, dw_offset_t> &lhs, in FindUnitIndex() 211 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section, in GetUnitAtOffset() 226 DWARFDebugInfo::GetUnitContainingDIEOffset(DIERef::Section section, in GetUnitContainingDIEOffset() 256 DWARFDebugInfo::GetDIE(DIERef::Section section, dw_offset_t die_offset) { in GetDIE()
|
| H A D | DWARFDebugInfo.h | 37 DWARFUnit *GetUnitAtOffset(DIERef::Section section, dw_offset_t cu_offset, 39 DWARFUnit *GetUnitContainingDIEOffset(DIERef::Section section, 44 DWARFDIE GetDIE(DIERef::Section section, dw_offset_t die_offset); 79 void ParseUnitsFor(DIERef::Section section); 81 uint32_t FindUnitIndex(DIERef::Section section, dw_offset_t offset);
|
| H A D | DWARFIndex.cpp | 93 bool DWARFIndex::DIERefCallbackImpl::operator()(DIERef ref) const { in operator ()() 102 return this->operator()(DIERef(std::nullopt, DIERef::Section::DebugInfo, in operator ()() 106 void DWARFIndex::ReportInvalidDIERef(DIERef ref, llvm::StringRef name) const { in ReportInvalidDIERef()
|
| H A D | SymbolFileDWARFDwo.cpp | 45 DebugInfo().GetUnitAtOffset(DIERef::Section::DebugInfo, in GetDWOCompileUnitForHash() 113 llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> & 145 SymbolFileDWARFDwo::GetDIE(const DIERef &die_ref) { in GetDIE() 178 SymbolFileDWARFDwo::GetDIERefSymbolFile(const DIERef &die_ref) { in GetDIERefSymbolFile()
|
| H A D | SymbolFileDWARFDwo.h | 44 GetDIE(const DIERef &die_ref) override; 70 SymbolFileDWARF *GetDIERefSymbolFile(const DIERef &die_ref) override; 77 llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> &
|
| H A D | DWARFBaseDIE.cpp | 23 std::optional<DIERef> DWARFBaseDIE::GetDIERef() const { in GetDIERef() 27 return DIERef(m_cu->GetSymbolFileDWARF().GetFileIndex(), in GetDIERef() 70 const std::optional<DIERef> &ref = this->GetDIERef(); in GetID()
|
| H A D | SymbolFileDWARF.h | 251 virtual SymbolFileDWARF *GetDIERefSymbolFile(const DIERef &die_ref); 253 virtual DWARFDIE GetDIE(const DIERef &die_ref); 345 virtual llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> & 368 Type *ResolveTypeUID(const DIERef &die_ref); 432 llvm::ArrayRef<DIERef> variable_dies, 459 FindBlockContainingSpecification(const DIERef &func_die_ref, 531 typedef std::set<DIERef> DIERefSet; 542 llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef>
|
| H A D | AppleDWARFIndex.cpp | 192 llvm::SmallVector<DIERef> decl_dies; in GetCompleteObjCClass() 201 decl_dies.emplace_back(std::nullopt, DIERef::Section::DebugInfo, in GetCompleteObjCClass() 207 for (DIERef ref : decl_dies) in GetCompleteObjCClass() 285 DIERef die_ref(std::nullopt, DIERef::Section::DebugInfo, in GetFunctions()
|
| H A D | DWARFUnit.h | 48 const DWARFDataExtractor &debug_info, DIERef::Section section, 203 DIERef::Section GetDebugSection() const { return m_section; } in GetDebugSection() 277 DIERef::Section section, bool is_dwo); 350 const DIERef::Section m_section;
|
| H A D | DWARFBaseDIE.h | 20 class DIERef; variable 61 std::optional<DIERef> GetDIERef() const;
|
| H A D | DWARFIndex.h | 96 bool operator()(DIERef ref) const; 111 void ReportInvalidDIERef(DIERef ref, llvm::StringRef name) const;
|
| H A D | SymbolFileDWARFDebugMap.h | 205 std::optional<uint32_t> OsoNum = DIERef(uid).file_index(); in GetOSOIndexFromUserID() 287 llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> & 331 llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef>
|
| H A D | DWARFTypeUnit.h | 37 DIERef::Section section, bool is_dwo) in DWARFTypeUnit()
|
| H A D | DWARFCompileUnit.h | 37 DIERef::Section section, bool is_dwo) in DWARFCompileUnit()
|
| H A D | DWARFUnit.cpp | 38 DIERef::Section section, bool is_dwo) in DWARFUnit() 930 DIERef::Section section, lldb::offset_t *offset_ptr) { in extract() 938 section == DIERef::Section::DebugInfo in extract() 997 return m_section == DIERef::Section::DebugTypes in GetData()
|
| H A D | DebugNamesDWARFIndex.cpp | 78 m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, *cu_offset); in GetForeignTypeUnit() 132 if (DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, in GetNonSkeletonUnit()
|
| H A D | SymbolFileDWARF.cpp | 484 llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> & 1485 SymbolFileDWARF::GetDIE(lldb::user_id_t uid) { return GetDIE(DIERef(uid)); } in GetDIE() 1554 Type *SymbolFileDWARF::ResolveTypeUID(const DIERef &die_ref) { in ResolveTypeUID() 1755 SymbolFileDWARF *SymbolFileDWARF::GetDIERefSymbolFile(const DIERef &die_ref) { in GetDIERefSymbolFile() 1778 if (*file_index == DIERef::k_file_index_mask) in GetDIERefSymbolFile() 1789 SymbolFileDWARF::GetDIE(const DIERef &die_ref) { in GetDIE() 2226 debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, cu_offset, in ResolveSymbolContext() 2675 for (DIERef die_ref : in GetMangledNamesForFunction() 3272 const dw_offset_t function_die_offset = DIERef(func.GetID()).die_offset(); in ParseBlocksRecursive() 3722 const DIERef &func_die_ref, dw_offset_t spec_block_die_offset) { in FindBlockContainingSpecification() [all …]
|
| H A D | DWARFFormValue.cpp | 525 DIERef::Section::DebugInfo, value); in ReferencedUnitAndOffset()
|
| H A D | ManualDWARFIndex.cpp | 284 DIERef ref = *DWARFDIE(&unit, &die).GetDIERef(); in IndexUnitImpl()
|
| /src/lib/clang/liblldb/ |
| H A D | Makefile | 571 SRCS+= Plugins/SymbolFile/DWARF/DIERef.cpp
|