Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A 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 …]
H A 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);
H A 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;
H A 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);
H A DDWARFDebugInfo.cpp71 void DWARFDebugInfo::ParseUnitsFor(DIERef::Section section) { in ParseUnitsFor()
72 DWARFDataExtractor data = section == DIERef::Section::DebugTypes in ParseUnitsFor()
100 ParseUnitsFor(DIERef::Section::DebugInfo); in ParseUnitHeadersIfNeeded()
101 ParseUnitsFor(DIERef::Section::DebugTypes); in ParseUnitHeadersIfNeeded()
118 uint32_t DWARFDebugInfo::FindUnitIndex(DIERef::Section section, in FindUnitIndex()
126 [](const std::pair<DIERef::Section, dw_offset_t> &lhs, in FindUnitIndex()
136 DWARFUnit *DWARFDebugInfo::GetUnitAtOffset(DIERef::Section section, in GetUnitAtOffset()
150 DWARFUnit *DWARFDebugInfo::GetUnit(const DIERef &die_ref) { in GetUnit()
155 DWARFDebugInfo::GetUnitContainingDIEOffset(DIERef::Section section, in GetUnitContainingDIEOffset()
178 DWARFDebugInfo::GetDIEForDIEOffset(DIERef::Section section, in GetDIEForDIEOffset()
[all …]
H A 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()
H A 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()
102 if (!callback(DIERef(die_info_array[i]))) in ExtractTypesFromDIEArray()
[all …]
H A 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()
H A 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()
H A 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()
H A DDWARFIndex.h71 bool ProcessFunctionDIE(llvm::StringRef name, DIERef ref,
82 bool operator()(DIERef ref) const;
96 void ReportInvalidDIERef(DIERef ref, llvm::StringRef name) const;
H A DSymbolFileDWARF.h261 virtual DWARFDIE GetDIE(const DIERef &die_ref);
269 lldb::user_id_t GetUID(const llvm::Optional<DIERef> &ref) { in GetUID()
273 lldb::user_id_t GetUID(DIERef ref);
331 typedef llvm::DenseMap<lldb::opaque_compiler_type_t, DIERef> ClangTypeToDIE;
374 lldb_private::Type *ResolveTypeUID(const DIERef &die_ref);
419 FindBlockContainingSpecification(const DIERef &func_die_ref,
478 DIERef ref;
509 typedef std::set<DIERef> DIERefSet;
H A DDWARFUnit.h75 extract(const lldb_private::DWARFDataExtractor &data, DIERef::Section section,
88 DIERef::Section section, lldb::offset_t *offset_ptr);
219 DIERef::Section GetDebugSection() const { return m_section; } in GetDebugSection()
262 DIERef::Section section, bool is_dwo);
331 const DIERef::Section m_section;
H A DDWARFBaseDIE.h17 class DIERef; variable
58 llvm::Optional<DIERef> GetDIERef() const;
H A DDWARFBaseDIE.cpp21 llvm::Optional<DIERef> DWARFBaseDIE::GetDIERef() const { in GetDIERef()
25 return DIERef(m_cu->GetSymbolFileDWARF().GetDwoNum(), m_cu->GetDebugSection(), in GetDIERef()
H A DSymbolFileDWARFDwo.cpp43 DebugInfo().GetUnitAtOffset(DIERef::Section::DebugInfo, in GetDWOCompileUnitForHash()
126 SymbolFileDWARFDwo::GetDIE(const DIERef &die_ref) { in GetDIE()
H A DDWARFTypeUnit.h31 DIERef::Section section, bool is_dwo) in DWARFTypeUnit()
H A DDWARFCompileUnit.h31 DIERef::Section section, bool is_dwo) in DWARFCompileUnit()
H A DAppleDWARFIndex.cpp154 [&](DIERef ref) { return false; })) in GetTypes()
183 m_apple_names_up->FindByName(name.GetStringRef(), [&](DIERef die_ref) { in GetFunctions()
H A DSymbolFileDWARFDwo.h41 GetDIE(const DIERef &die_ref) override;
H A DDWARFUnit.cpp35 DIERef::Section section, bool is_dwo) in DWARFUnit()
817 DIERef::Section section, in extract()
835 section == DIERef::Section::DebugTypes ? DW_UT_type : DW_UT_compile; in extract()
898 DIERef::Section section, lldb::offset_t *offset_ptr) { in extract()
933 return m_section == DIERef::Section::DebugTypes in GetData()
H A DDebugNamesDWARFIndex.h80 llvm::Optional<DIERef> ToDIERef(const DebugNames::Entry &entry);
H A DSymbolFileDWARF.cpp1275 user_id_t SymbolFileDWARF::GetUID(DIERef ref) { in GetUID()
1282 lldb::user_id_t(ref.section() == DIERef::Section::DebugTypes) << 63; in GetUID()
1301 *dwarf, {llvm::None, DIERef::Section::DebugInfo, dw_offset_t(uid)}}; in DecodeUID()
1307 DIERef::Section section = in DecodeUID()
1308 uid >> 63 ? DIERef::Section::DebugTypes : DIERef::Section::DebugInfo; in DecodeUID()
1389 Type *SymbolFileDWARF::ResolveTypeUID(const DIERef &die_ref) { in ResolveTypeUID()
1575 SymbolFileDWARF::GetDIE(const DIERef &die_ref) { in GetDIE()
1896 debug_info.GetUnitAtOffset(DIERef::Section::DebugInfo, cu_offset, in ResolveSymbolContext()
2313 for (DIERef die_ref : in GetMangledNamesForFunction()
3390 const DIERef &func_die_ref, dw_offset_t spec_block_die_offset) { in FindBlockContainingSpecification()
H A DDWARFFormValue.cpp523 DIERef::Section::DebugInfo, value); in Reference()
H A DManualDWARFIndex.cpp242 DIERef ref = *DWARFDIE(&unit, &die).GetDIERef(); in IndexUnitImpl()

12