Home
last modified time | relevance | path

Searched refs:DIERef (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DHashedNameToDIE.h67 explicit operator DIERef() const { in DIERef() function
68 return DIERef(llvm::None, DIERef::Section::DebugInfo, die_offset); in DIERef()
144 llvm::function_ref<bool(DIERef ref)> callback);
147 llvm::function_ref<bool(DIERef ref)> callback);
152 llvm::function_ref<bool(DIERef ref)> callback);
156 llvm::function_ref<bool(DIERef ref)> callback,
176 llvm::function_ref<bool(DIERef ref)> callback);
181 llvm::function_ref<bool(DIERef ref)> callback);
186 llvm::function_ref<bool(DIERef ref)> callback);
191 llvm::function_ref<bool(DIERef ref)> callback);
[all …]
DDIERef.h26 class DIERef {
30 DIERef(llvm::Optional<uint32_t> dwo_num, Section section, in DIERef() function
47 bool operator<(DIERef other) const {
63 static_assert(sizeof(DIERef) == 8, "");
65 typedef std::vector<DIERef> DIEArray;
68 template<> struct format_provider<DIERef> {
69 static void format(const DIERef &ref, raw_ostream &OS, StringRef Style);
DNameToDIE.h29 void Insert(lldb_private::ConstString name, const DIERef &die_ref);
36 llvm::function_ref<bool(DIERef ref)> callback) const;
39 llvm::function_ref<bool(DIERef ref)> callback) const;
43 llvm::function_ref<bool(DIERef ref)> callback) const;
47 const DIERef &die_ref)> const
51 lldb_private::UniqueCStringMap<DIERef> m_map;
DDWARFDebugInfo.h39 DWARFUnit *GetUnitAtOffset(DIERef::Section section, dw_offset_t cu_offset,
41 DWARFUnit *GetUnitContainingDIEOffset(DIERef::Section section,
43 DWARFUnit *GetUnit(const DIERef &die_ref);
46 DWARFDIE GetDIEForDIEOffset(DIERef::Section section,
48 DWARFDIE GetDIE(const DIERef &die_ref);
78 void ParseUnitsFor(DIERef::Section section);
80 uint32_t FindUnitIndex(DIERef::Section section, dw_offset_t offset);
DDWARFDebugInfo.cpp71 void DWARFDebugInfo::ParseUnitsFor(DIERef::Section section) { in ParseUnitsFor()
72 DWARFDataExtractor data = section == DIERef::Section::DebugTypes in ParseUnitsFor()
78 section == DIERef::Section::DebugTypes in ParseUnitsFor()
106 ParseUnitsFor(DIERef::Section::DebugInfo); in ParseUnitHeadersIfNeeded()
107 ParseUnitsFor(DIERef::Section::DebugTypes); in ParseUnitHeadersIfNeeded()
124 uint32_t DWARFDebugInfo::FindUnitIndex(DIERef::Section section, in FindUnitIndex()
132 [](const std::pair<DIERef::Section, dw_offset_t> &lhs, in FindUnitIndex()
142 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section, in GetUnitAtOffset()
156 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) { in GetUnit()
161 DWARFDebugInfo::GetUnitContainingDIEOffset(DIERef::Section section, in GetUnitContainingDIEOffset()
[all …]
DNameToDIE.cpp25 void NameToDIE::Insert(ConstString name, const DIERef &die_ref) { in Insert()
30 llvm::function_ref<bool(DIERef ref)> callback) const { in Find()
38 llvm::function_ref<bool(DIERef ref)> callback) const { in Find()
49 llvm::function_ref<bool(DIERef ref)> callback) const { in FindAllEntriesForUnit()
52 const DIERef &die_ref = m_map.GetValueAtIndexUnchecked(i); in FindAllEntriesForUnit()
72 std::function<bool(ConstString name, const DIERef &die_ref)> const in ForEach()
DHashedNameToDIE.cpp14 llvm::function_ref<bool(DIERef ref)> callback) { in ExtractDIEArray()
17 if (!callback(DIERef(die_info_array[i]))) in ExtractDIEArray()
24 llvm::function_ref<bool(DIERef ref)> callback) { in ExtractDIEArray()
39 if (!callback(DIERef(die_info_array[i]))) in ExtractDIEArray()
48 llvm::function_ref<bool(DIERef ref)> callback) { in ExtractDIEArray()
65 if (!callback(DIERef(die_info_array[i]))) in ExtractDIEArray()
74 llvm::function_ref<bool(DIERef ref)> callback) { in ExtractClassOrStructDIEArray()
88 callback(DIERef(die_info_array[i])); in ExtractClassOrStructDIEArray()
91 if (!callback(DIERef(die_info_array[i]))) in ExtractClassOrStructDIEArray()
98 uint32_t type_flag_value, llvm::function_ref<bool(DIERef ref)> callback) { in ExtractTypesFromDIEArray()
[all …]
DDIERef.cpp12 void llvm::format_provider<DIERef>::format(const DIERef &ref, raw_ostream &OS, in format()
16 OS << (ref.section() == DIERef::DebugInfo ? "INFO" : "TYPE"); in format()
DDebugNamesDWARFIndex.cpp43 llvm::Optional<DIERef>
49 DWARFUnit *cu = m_debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, *cu_offset); in ToDIERef()
55 return DIERef(cu->GetSymbolFileDWARF().GetDwoNum(), in ToDIERef()
56 DIERef::Section::DebugInfo, cu->GetOffset() + *die_offset); in ToDIERef()
64 llvm::Optional<DIERef> ref = ToDIERef(entry); in ProcessEntry()
162 llvm::Optional<DIERef> ref = ToDIERef(entry); in GetCompleteObjCClass()
187 for (DIERef ref : incomplete_types) in GetCompleteObjCClass()
246 if (llvm::Optional<DIERef> ref = ToDIERef(entry)) { in GetFunctions()
DDWARFIndex.cpp22 llvm::StringRef name, DIERef ref, SymbolFileDWARF &dwarf, in ProcessFunctionDIE()
74 bool DWARFIndex::DIERefCallbackImpl::operator()(DIERef ref) const { in operator ()()
81 void DWARFIndex::ReportInvalidDIERef(DIERef ref, llvm::StringRef name) const { in ReportInvalidDIERef()
DDWARFIndex.h71 bool ProcessFunctionDIE(llvm::StringRef name, DIERef ref,
82 bool operator()(DIERef ref) const;
96 void ReportInvalidDIERef(DIERef ref, llvm::StringRef name) const;
DSymbolFileDWARF.h262 virtual DWARFDIE GetDIE(const DIERef &die_ref);
270 lldb::user_id_t GetUID(const llvm::Optional<DIERef> &ref) { in GetUID()
274 lldb::user_id_t GetUID(DIERef ref);
330 typedef llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> ClangTypeToDIE;
373 lldb_private::Type *ResolveTypeUID(const DIERef &die_ref);
418 FindBlockContainingSpecification(const DIERef &func_die_ref,
477 DIERef ref;
508 typedef std::set<DIERef> DIERefSet;
DDWARFUnit.h74 extract(const lldb_private::DWARFDataExtractor &data, DIERef::Section section,
86 DIERef::Section section, lldb::offset_t *offset_ptr,
217 DIERef::Section GetDebugSection() const { return m_section; } in GetDebugSection()
268 DIERef::Section section, bool is_dwo);
334 const DIERef::Section m_section;
DDWARFBaseDIE.h17 class DIERef; variable
58 llvm::Optional<DIERef> GetDIERef() const;
DDWARFBaseDIE.cpp21 llvm::Optional<DIERef> DWARFBaseDIE::GetDIERef() const { in GetDIERef()
25 return DIERef(m_cu->GetSymbolFileDWARF().GetDwoNum(), m_cu->GetDebugSection(), in GetDIERef()
DSymbolFileDWARFDwo.cpp43 DebugInfo().GetUnitAtOffset(DIERef::Section::DebugInfo, in GetDWOCompileUnitForHash()
127 SymbolFileDWARFDwo::GetDIE(const DIERef &die_ref) { in GetDIE()
DDWARFTypeUnit.h31 DIERef::Section section, bool is_dwo) in DWARFTypeUnit()
DDWARFCompileUnit.h31 DIERef::Section section, bool is_dwo) in DWARFCompileUnit()
DAppleDWARFIndex.cpp154 [&](DIERef ref) { return false; })) in GetTypes()
183 m_apple_names_up->FindByName(name.GetStringRef(), [&](DIERef die_ref) { in GetFunctions()
DSymbolFileDWARFDwo.h41 GetDIE(const DIERef &die_ref) override;
DCMakeLists.txt12 DIERef.cpp
DDWARFUnit.cpp35 DIERef::Section section, bool is_dwo) in DWARFUnit()
783 DIERef::Section section, lldb::offset_t *offset_ptr, in extract()
801 section == DIERef::Section::DebugTypes ? DW_UT_type : DW_UT_compile; in extract()
854 DIERef::Section section, lldb::offset_t *offset_ptr, in extract()
890 return m_section == DIERef::Section::DebugTypes in GetData()
DDebugNamesDWARFIndex.h80 llvm::Optional<DIERef> ToDIERef(const DebugNames::Entry &entry);
DSymbolFileDWARF.cpp1266 user_id_t SymbolFileDWARF::GetUID(DIERef ref) { in GetUID()
1273 lldb::user_id_t(ref.section() == DIERef::Section::DebugTypes) << 63; in GetUID()
1292 *dwarf, {llvm::None, DIERef::Section::DebugInfo, dw_offset_t(uid)}}; in DecodeUID()
1298 DIERef::Section section = in DecodeUID()
1299 uid >> 63 ? DIERef::Section::DebugTypes : DIERef::Section::DebugInfo; in DecodeUID()
1380 Type *SymbolFileDWARF::ResolveTypeUID(const DIERef &die_ref) { in ResolveTypeUID()
1566 SymbolFileDWARF::GetDIE(const DIERef &die_ref) { in GetDIE()
1891 debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, cu_offset, in ResolveSymbolContext()
2370 for (DIERef die_ref : in GetMangledNamesForFunction()
3443 const DIERef &func_die_ref, dw_offset_t spec_block_die_offset) { in FindBlockContainingSpecification()
DDWARFFormValue.cpp521 DIERef::Section::DebugInfo, value); in Reference()

12