Home
last modified time | relevance | path

Searched refs:dw_offset_t (Results 1 – 25 of 32) sorted by relevance

12

/external/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugPubnamesSet.h48 Descriptor(dw_offset_t the_offset, const char *the_name) : in Descriptor()
54 dw_offset_t offset;
59 …DWARFDebugPubnamesSet(dw_offset_t debug_aranges_offset, dw_offset_t cu_die_offset, dw_offset_t die…
60 dw_offset_t GetOffset() const { return m_offset; } in GetOffset()
61 void SetOffset(dw_offset_t offset) { m_offset = offset; } in SetOffset()
71 void AddDescriptor(dw_offset_t cu_rel_offset, const char* name);
76 …void Find(const char* name, bool ignore_case, std::vector<dw_offset_t>& die_offset_coll) co…
77 …void Find(const lldb_private::RegularExpression& regex, std::vector<dw_offset_t>& die_offse…
78 dw_offset_t GetOffsetOfNextEntry() const;
88 dw_offset_t m_offset;
DDWARFDebugInfo.h20 typedef std::multimap<const char*, dw_offset_t, CStringCompareFunctionObject> CStringToDIEMap;
29 typedef dw_offset_t (*Callback)(
33 const dw_offset_t next_offset,
42 …const dw_offset_t cu_offset, // Can be valid (find in .debug_aranges), or DW_INVALID_OFFSET if …
51 DWARFCompileUnitSP GetCompileUnit(dw_offset_t cu_offset, uint32_t* idx_ptr = NULL);
52 DWARFCompileUnitSP GetCompileUnitContainingDIE(dw_offset_t die_offset);
54 DWARFDebugInfoEntry* GetDIEPtr(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr);
55 …DWARFDebugInfoEntry* GetDIEPtrWithCompileUnitHint (dw_offset_t die_offset, DWARFCompileUnit**cu_ha…
57 …const DWARFDebugInfoEntry* GetDIEPtrContainingOffset(dw_offset_t die_offset, DWARFCompileUnitSP* c…
63 bool Find(const char* name, bool ignore_case, std::vector<dw_offset_t>& die_offsets) const;
[all …]
DDWARFDebugInfoEntry.h32 typedef std::map<dw_offset_t, dw_offset_t> DIEToDIEMap;
56 typedef std::vector<dw_offset_t> offset_collection;
66 …void Append(const DWARFCompileUnit *cu, dw_offset_t attr_die_offset, dw_attr_t attr, dw_form_t for…
68 dw_offset_t DIEOffsetAtIndex(uint32_t i) const { return m_infos[i].die_offset; } in DIEOffsetAtIndex()
84 dw_offset_t die_offset;
98 assert(sizeof(dw_offset_t)*2 == sizeof(uint64_t)); in CompareState()
101 bool AddTypePair(dw_offset_t a, dw_offset_t b) in AddTypePair()
169 dw_offset_t GetAttributeValue(
174 dw_offset_t* end_attr_offset_ptr = NULL) const;
213 dw_offset_t GetAttributeValueAsLocation(
[all …]
DDWARFCompileUnit.h33dw_offset_t Extract(lldb::offset_t offset, const lldb_private::DataExtractor& debug_info_data, con…
44 dw_offset_t GetOffset() const { return m_offset; } in GetOffset()
46 …bool ContainsDIEOffset(dw_offset_t die_offset) const { return die_offset >= GetFirstDIEOffs… in ContainsDIEOffset()
47 dw_offset_t GetFirstDIEOffset() const { return m_offset + Size(); } in GetFirstDIEOffset()
48 dw_offset_t GetNextCompileUnitOffset() const { return m_offset + m_length + 4; } in GetNextCompileUnitOffset()
53 dw_offset_t GetAbbrevOffset() const;
115 GetDIEPtr (dw_offset_t die_offset);
118 GetDIEPtrContainingOffset (dw_offset_t die_offset);
195 dw_offset_t m_offset;
DDWARFDebugInfo.cpp98 const dw_offset_t hint_die_offset, in LookupAddress()
110 const dw_offset_t cu_offset = cu_aranges.FindAddress (address); in LookupAddress()
210 const dw_offset_t key_cu_offset = *(dw_offset_t*) key; in CompareDWARFCompileUnitSPOffset()
211 const dw_offset_t cu_offset = ((DWARFCompileUnitSP *)arrmem)->get()->GetOffset(); in CompareDWARFCompileUnitSPOffset()
220 DWARFDebugInfo::GetCompileUnit(dw_offset_t cu_offset, uint32_t* idx_ptr) in GetCompileUnit()
241 DWARFDebugInfo::GetCompileUnitContainingDIE(dw_offset_t die_offset) in GetCompileUnitContainingDIE()
253 dw_offset_t cu_start_offset = (*pos)->GetOffset(); in GetCompileUnitContainingDIE()
254 dw_offset_t cu_end_offset = (*pos)->GetNextCompileUnitOffset(); in GetCompileUnitContainingDIE()
280 DWARFDebugInfo::GetDIEPtr(dw_offset_t die_offset, DWARFCompileUnitSP* cu_sp_ptr) in GetDIEPtr()
291 DWARFDebugInfo::GetDIEPtrWithCompileUnitHint (dw_offset_t die_offset, DWARFCompileUnit**cu_handle) in GetDIEPtrWithCompileUnitHint()
[all …]
DDWARFDebugLine.h194 typedef void (*Callback)(dw_offset_t offset, const State& state, void* userData);
209 AppendRowToMatrix (dw_offset_t offset);
212 Finalize (dw_offset_t offset);
226 …static bool DumpOpcodes(lldb_private::Log *log, SymbolFileDWARF* dwarf2Data, dw_offset_t line_offs…
227 …static bool DumpLineTableRows(lldb_private::Log *log, SymbolFileDWARF* dwarf2Data, dw_offset_t lin…
228 …lldb_private::DataExtractor& debug_line_data, const char *cu_comp_dir, dw_offset_t stmt_list, lldb…
231 …static dw_offset_t DumpStatementTable(lldb_private::Log *log, const lldb_private::DataExtractor& d…
232 …static dw_offset_t DumpStatementOpcodes(lldb_private::Log *log, const lldb_private::DataExtractor&…
244 LineTable::shared_ptr GetLineTable(const dw_offset_t offset) const;
247 typedef std::map<dw_offset_t, LineTable::shared_ptr> LineTableMap;
DDWARFDebugPubnamesSet.cpp27 …DebugPubnamesSet::DWARFDebugPubnamesSet(dw_offset_t debug_aranges_offset, dw_offset_t cu_die_offse… in DWARFDebugPubnamesSet()
40 DWARFDebugPubnamesSet::AddDescriptor(dw_offset_t cu_rel_offset, const char* name) in AddDescriptor()
45 m_header.length += strlen(name) + 1 + sizeof(dw_offset_t); in AddDescriptor()
115 dw_offset_t
145 DWARFDebugPubnamesSet::Find(const char* name, bool ignore_case, std::vector<dw_offset_t>& die_offse… in Find()
156 DWARFDebugPubnamesSet::Find(const RegularExpression& regex, std::vector<dw_offset_t>& die_offset_co… in Find()
DDWARFDebugAbbrev.h36 DWARFAbbreviationDeclarationSet(dw_offset_t offset, uint32_t idx_offset) : in DWARFAbbreviationDeclarationSet()
44 dw_offset_t GetOffset() const { return m_offset; } in GetOffset()
52 dw_offset_t m_offset;
57 typedef std::map<dw_offset_t, DWARFAbbreviationDeclarationSet> DWARFAbbreviationDeclarationCollMap;
66 …const DWARFAbbreviationDeclarationSet* GetAbbreviationDeclarationSet(dw_offset_t cu_abbr_offset) …
DDWARFDebugAranges.h23 typedef lldb_private::RangeDataArray<dw_addr_t, uint32_t, dw_offset_t, 1> RangeToDIE;
45 AppendRange (dw_offset_t cu_offset,
61 dw_offset_t
75 dw_offset_t
DDWARFDebugLine.cpp73 DWARFDebugLine::GetLineTable(const dw_offset_t offset) const in GetLineTable()
87 DumpStateToFile (dw_offset_t offset, const DWARFDebugLine::State& state, void* userData) in DumpStateToFile()
111 DWARFDebugLine::DumpLineTableRows(Log *log, SymbolFileDWARF* dwarf2Data, dw_offset_t debug_line_off… in DumpLineTableRows()
133 dw_offset_t
134 …mpStatementTable(Log *log, const DataExtractor& debug_line_data, const dw_offset_t debug_line_offs… in DumpStatementTable()
157 DWARFDebugLine::DumpOpcodes(Log *log, SymbolFileDWARF* dwarf2Data, dw_offset_t debug_line_offset, u… in DumpOpcodes()
185 dw_offset_t
186 …StatementOpcodes(Log *log, const DataExtractor& debug_line_data, const dw_offset_t debug_line_offs… in DumpStatementOpcodes()
208 …const dw_offset_t end_offset = debug_line_offset + prologue.total_length + sizeof(prologue.total_l… in DumpStatementOpcodes()
221 dw_offset_t ext_offset = offset; in DumpStatementOpcodes()
[all …]
DDWARFDebugArangeSet.h46 dw_offset_t GetCompileUnitDIEOffset() const { return m_header.cu_offset; } in GetCompileUnitDIEOffset()
47 dw_offset_t GetOffsetOfNextEntry() const;
48 dw_offset_t FindAddress(dw_addr_t address) const;
DSymbolFileDWARF.h247 GetClangDeclContextForDIEOffset (const lldb_private::SymbolContext &sc, dw_offset_t die_offset);
255 GetClangDeclContextContainingDIEOffset (dw_offset_t die_offset);
391 bool ResolveFunction (dw_offset_t offset,
447 …uint32_t FindTypes(std::vector<dw_offset_t> die_offsets, uint32_t max_matches, lldb…
462 FindBlockContainingSpecification (dw_offset_t func_die_offset,
463 dw_offset_t spec_block_die_offset,
469 dw_offset_t spec_block_die_offset,
496 MakeUserID (dw_offset_t die_offset) const in MakeUserID()
558 dw_offset_t min_die_offset,
559 dw_offset_t max_die_offset,
DDWARFDebugPubnames.h28 … bool Find(const char* name, bool ignore_case, std::vector<dw_offset_t>& die_offset_coll) const;
29 …bool Find(const lldb_private::RegularExpression& regex, std::vector<dw_offset_t>& die_offsets) …
DDWARFDebugAranges.cpp72 const dw_offset_t cu_offset = set.GetCompileUnitDIEOffset(); in Extract()
129 DWARFDebugAranges::AppendRange (dw_offset_t offset, dw_addr_t low_pc, dw_addr_t high_pc) in AppendRange()
170 dw_offset_t
DDWARFDebugRanges.h30 bool FindRanges(dw_offset_t debug_ranges_offset, DWARFDebugRanges::RangeList& range_list) const;
39 typedef std::map<dw_offset_t, RangeList> range_map;
DDWARFDebugInfoEntry.cpp64 DWARFDebugInfoEntry::Attributes::Append(const DWARFCompileUnit *cu, dw_offset_t attr_die_offset, dw… in Append()
760 std::vector<dw_offset_t> die_offsets; in GetDIENamesAndRanges()
882 const dw_offset_t debug_loc_offset = form_value.Unsigned(); in GetDIENamesAndRanges()
929 std::vector<dw_offset_t>::const_iterator pos; in GetDIENamesAndRanges()
930 std::vector<dw_offset_t>::const_iterator end = die_offsets.end(); in GetDIENamesAndRanges()
935 dw_offset_t die_offset = *pos; in GetDIENamesAndRanges()
1264 dw_offset_t die_offset = form_value.Reference(cu); in GetAttributes()
1306 dw_offset_t
1313 dw_offset_t* end_attr_offset_ptr in GetAttributeValue()
1331 const dw_offset_t attr_offset = offset; in GetAttributeValue()
[all …]
DDWARFDebugPubnames.cpp97 dw_offset_t cu_offset = cu->GetOffset(); in GeneratePubnames()
227 dw_offset_t cu_offset = cu->GetOffset(); in GeneratePubBaseTypes()
267 DWARFDebugPubnames::Find(const char* name, bool ignore_case, std::vector<dw_offset_t>& die_offsets)… in Find()
283 DWARFDebugPubnames::Find(const RegularExpression& regex, std::vector<dw_offset_t>& die_offsets) con… in Find()
DDWARFLocationList.cpp20 dw_offset_t
74 const dw_offset_t debug_loc_offset = offset; in Size()
DDWARFDebugRanges.cpp32 dw_offset_t debug_ranges_offset = offset; in Extract()
180 DWARFDebugRanges::FindRanges(dw_offset_t debug_ranges_offset, RangeList& range_list) const in FindRanges()
DHashedNameToDIE.h32 dw_offset_t offset; // The DIE offset
45 DIEInfo (dw_offset_t o, dw_tag_t t, uint32_t f, uint32_t h) : in DIEInfo()
245 dw_offset_t die_base_offset;
251 Prologue (dw_offset_t _die_base_offset = 0) :
405 Header (dw_offset_t _die_base_offset = 0)
453 … hash_data.offset = (dw_offset_t)form_value.Reference (header_data.die_base_offset); in Read()
DSymbolFileDWARF.cpp241 dw_offset_t min_die_offset, in GetTypes()
242 dw_offset_t max_die_offset, in GetTypes()
250 const dw_offset_t die_offset = die->GetOffset(); in GetTypes()
870 return info->GetCompileUnit((dw_offset_t)comp_unit->GetID()).get(); in GetDWARFCompileUnit()
1173dw_offset_t stmt_list = cu_die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT_stmt_list, DW_IN… in ParseCompileUnitSupportFiles()
1195 ParseDWARFLineTableCallback(dw_offset_t offset, const DWARFDebugLine::State& state, void* userData) in ParseDWARFLineTableCallback()
1250 …const dw_offset_t cu_line_offset = dwarf_cu_die->GetAttributeValueAsUnsigned(this, dwarf_cu, DW_AT… in ParseCompileUnitLineTable()
1447 const dw_offset_t type_die_offset = form_value.Reference(dwarf_cu); in ParseTemplateDIE()
2490 const dw_offset_t die_offset = method_die_offsets[i]; in ResolveClangOpaqueTypeDefinition()
2724 … const dw_offset_t cu_offset = debug_info->GetCompileUnitAranges().FindAddress(file_vm_addr); in ResolveSymbolContext()
[all …]
DDWARFCompileUnit.cpp80 dw_offset_t abbr_offset; in Extract()
106 dw_offset_t
304 dw_offset_t
513 DWARFCompileUnit::GetDIEPtr(dw_offset_t die_offset) in GetDIEPtr()
538 DWARFCompileUnit::GetDIEPtrContainingOffset(dw_offset_t die_offset) in GetDIEPtrContainingOffset()
668 dw_offset_t specification_die_offset = DW_INVALID_OFFSET; in Index()
/external/lldb/include/lldb/Symbol/
DDWARFCallFrameInfo.h85 dw_offset_t cie_offset;
91 dw_offset_t inst_offset; // offset of CIE instructions in mCFIData
96 CIE(dw_offset_t offset) : cie_offset(offset), version (-1), code_align (0), in CIE()
108 typedef RangeDataVector<lldb::addr_t, uint32_t, dw_offset_t> FDEEntryMap;
123 GetCIE(dw_offset_t cie_offset);
/external/lldb/include/lldb/Core/
Ddwarf.h30 typedef uint64_t dw_offset_t; // Dwarf Debug Information Entry offset for any offset into the… typedef
33 typedef uint32_t dw_offset_t; // Dwarf Debug Information Entry offset for any offset into the… typedef
37 #define DW_INVALID_OFFSET (~(dw_offset_t)0)
/external/lldb/source/Symbol/
DDWARFCallFrameInfo.cpp127 DWARFCallFrameInfo::GetCIE(dw_offset_t cie_offset) in GetCIE()
143 DWARFCallFrameInfo::ParseCIE (const dw_offset_t cie_offset) in ParseCIE()
150 const dw_offset_t cie_id = m_cfi_data.GetU32(&offset); in ParseCIE()
151 const dw_offset_t end_offset = cie_offset + length + 4; in ParseCIE()
339 const dw_offset_t current_entry = offset; in GetFDEIndex()
341 dw_offset_t next_entry = current_entry + len + 4; in GetFDEIndex()
342 dw_offset_t cie_id = m_cfi_data.GetU32 (&offset); in GetFDEIndex()
351 const dw_offset_t cie_offset = current_entry + 4 - cie_id; in GetFDEIndex()
379 DWARFCallFrameInfo::FDEToUnwindPlan (dw_offset_t dwarf_offset, Address startaddr, UnwindPlan& unwin… in FDEToUnwindPlan()
391 dw_offset_t cie_offset = m_cfi_data.GetU32 (&offset); in FDEToUnwindPlan()
[all …]

12