Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/tools/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 …]
DDWARFDebugInfo.cpp71 std::set<dw_offset_t> cus_with_data; in GetCompileUnitAranges()
74 dw_offset_t offset = m_cu_aranges_ap.get()->OffsetAtIndex(n); in GetCompileUnitAranges()
87 dw_offset_t offset = cu->GetOffset(); in GetCompileUnitAranges()
115 const dw_offset_t hint_die_offset, in LookupAddress()
127 const dw_offset_t cu_offset = cu_aranges.FindAddress (address); in LookupAddress()
227 const dw_offset_t key_cu_offset = *(dw_offset_t*) key; in CompareDWARFCompileUnitSPOffset()
228 const dw_offset_t cu_offset = ((DWARFCompileUnitSP *)arrmem)->get()->GetOffset(); in CompareDWARFCompileUnitSPOffset()
237 DWARFDebugInfo::GetCompileUnit(dw_offset_t cu_offset, uint32_t* idx_ptr) in GetCompileUnit()
258 DWARFDebugInfo::GetCompileUnitContainingDIE(dw_offset_t die_offset) in GetCompileUnitContainingDIE()
270 dw_offset_t cu_start_offset = (*pos)->GetOffset(); in GetCompileUnitContainingDIE()
[all …]
DDWARFDebugLine.h162 typedef void (*Callback)(dw_offset_t offset, const State& state, void* userData);
177 AppendRowToMatrix (dw_offset_t offset);
180 Finalize (dw_offset_t offset);
194 …static bool DumpOpcodes(lldb_private::Log *log, SymbolFileDWARF* dwarf2Data, dw_offset_t line_offs…
195 …static bool DumpLineTableRows(lldb_private::Log *log, SymbolFileDWARF* dwarf2Data, dw_offset_t lin…
196 …private::DWARFDataExtractor& debug_line_data, const char *cu_comp_dir, dw_offset_t stmt_list, lldb…
199 …static dw_offset_t DumpStatementTable(lldb_private::Log *log, const lldb_private::DWARFDataExtract…
200 …static dw_offset_t DumpStatementOpcodes(lldb_private::Log *log, const lldb_private::DWARFDataExtra…
212 LineTable::shared_ptr GetLineTable(const dw_offset_t offset) const;
215 typedef std::map<dw_offset_t, LineTable::shared_ptr> LineTableMap;
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.h43 dw_offset_t GetOffset() const { return m_offset; } in GetOffset()
45 …bool ContainsDIEOffset(dw_offset_t die_offset) const { return die_offset >= GetFirstDIEOffs… in ContainsDIEOffset()
46 dw_offset_t GetFirstDIEOffset() const { return m_offset + Size(); } in GetFirstDIEOffset()
47 dw_offset_t GetNextCompileUnitOffset() const { return m_offset + m_length + 4; } in GetNextCompileUnitOffset()
52 dw_offset_t GetAbbrevOffset() const;
114 GetDIEPtr (dw_offset_t die_offset);
117 GetDIEPtrContainingOffset (dw_offset_t die_offset);
194 dw_offset_t m_offset;
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 …tementTable(Log *log, const DWARFDataExtractor& 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 …mentOpcodes(Log *log, const DWARFDataExtractor& 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);
392 bool ResolveFunction (dw_offset_t offset,
448 …uint32_t FindTypes(std::vector<dw_offset_t> die_offsets, uint32_t max_matches, lldb…
463 FindBlockContainingSpecification (dw_offset_t func_die_offset,
464 dw_offset_t spec_block_die_offset,
470 dw_offset_t spec_block_die_offset,
497 MakeUserID (dw_offset_t die_offset) const in MakeUserID()
559 dw_offset_t min_die_offset,
560 dw_offset_t max_die_offset,
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()
884 const dw_offset_t debug_loc_offset = form_value.Unsigned(); in GetDIENamesAndRanges()
931 std::vector<dw_offset_t>::const_iterator pos; in GetDIENamesAndRanges()
932 std::vector<dw_offset_t>::const_iterator end = die_offsets.end(); in GetDIENamesAndRanges()
937 dw_offset_t die_offset = *pos; in GetDIENamesAndRanges()
1266 dw_offset_t die_offset = form_value.Reference(cu); in GetAttributes()
1308 dw_offset_t
1315 dw_offset_t* end_attr_offset_ptr in GetAttributeValue()
1333 const dw_offset_t attr_offset = offset; in GetAttributeValue()
[all …]
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
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) …
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()
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;
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()
181 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()
2507 const dw_offset_t die_offset = method_die_offsets[i]; in ResolveClangOpaqueTypeDefinition()
2772 … const dw_offset_t cu_offset = debug_info->GetCompileUnitAranges().FindAddress(file_vm_addr); in ResolveSymbolContext()
[all …]
DDWARFAbbreviationDeclaration.cpp143 dw_offset_t debug_info_offset, in CopyChangingStringToStrp()
163 dw_offset_t attr_offset = offset; in CopyChangingStringToStrp()
/freebsd-10-stable/contrib/llvm/tools/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);
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Core/
Ddwarf.h29 typedef uint64_t dw_offset_t; // Dwarf Debug Information Entry offset for any offset into the… typedef
32 typedef uint32_t dw_offset_t; // Dwarf Debug Information Entry offset for any offset into the… typedef
36 #define DW_INVALID_OFFSET (~(dw_offset_t)0)
/freebsd-10-stable/contrib/llvm/tools/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