Home
last modified time | relevance | path

Searched refs:cu_offset (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
H A DDIERef.cpp18 : cu_offset(DW_INVALID_OFFSET), die_offset(uid & 0xffffffff) { in DIERef()
29 cu_offset = dwarf_cu->GetOffset(); in DIERef()
36 cu_offset = uid >> 32; in DIERef()
41 : cu_offset(DW_INVALID_OFFSET), die_offset(DW_INVALID_OFFSET) { in DIERef()
46 cu_offset = dwarf_cu->GetBaseObjOffset(); in DIERef()
48 cu_offset = dwarf_cu->GetOffset(); in DIERef()
H A DDWARFDebugArangeSet.cpp22 m_header.cu_offset = 0; in DWARFDebugArangeSet()
31 m_header.cu_offset = 0; in Clear()
37 void DWARFDebugArangeSet::SetHeader(uint16_t version, uint32_t cu_offset, in SetHeader() argument
40 m_header.cu_offset = cu_offset; in SetHeader()
156 m_header.cu_offset = data.GetDWARFOffset(offset_ptr); in Extract()
208 m_offset, m_header.length, m_header.version, m_header.cu_offset, in Extract()
218 m_offset, m_header.length, m_header.version, m_header.cu_offset, in Extract()
235 m_header.length, m_header.version, m_header.cu_offset, in Dump()
264 return m_header.cu_offset; in FindAddress()
H A DManualDWARFIndex.cpp119 const dw_offset_t cu_offset, IndexSet &set) { in IndexUnitImpl() argument
264 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
268 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
273 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
287 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
290 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
294 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
326 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
332 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
338 DIERef(cu_offset, die.GetOffset())); in IndexUnitImpl()
[all …]
H A DDWARFDebugInfo.cpp142 DWARFUnit *DWARFDebugInfo::GetCompileUnit(dw_offset_t cu_offset, in GetCompileUnit() argument
146 if (cu_offset != DW_INVALID_OFFSET) { in GetCompileUnit()
152 if (m_compile_units[0]->GetOffset() == cu_offset) { in GetCompileUnit()
160 begin_pos, end_pos, cu_offset, OffsetLessThanCompileUnitOffset); in GetCompileUnit()
163 if ((*pos)->GetOffset() == cu_offset) { in GetCompileUnit()
176 if (die_ref.cu_offset == DW_INVALID_OFFSET) in GetCompileUnit()
179 return GetCompileUnit(die_ref.cu_offset); in GetCompileUnit()
H A DDebugNamesDWARFIndex.cpp55 llvm::Optional<uint64_t> cu_offset = entry.getCUOffset(); in ToDIERef() local
56 if (!cu_offset) in ToDIERef()
59 DWARFUnit *cu = m_debug_info.GetCompileUnit(*cu_offset); in ToDIERef()
67 uint64_t die_bias = cu->GetDwoSymbolFile() ? 0 : *cu_offset; in ToDIERef()
70 return DIERef(*cu_offset, die_bias + *die_offset); in ToDIERef()
131 uint64_t cu_offset = cu.GetOffset(); in GetGlobalVariables() local
139 if (entry_or->getCUOffset() != cu_offset) in GetGlobalVariables()
168 DWARFUnit *cu = m_debug_info.GetCompileUnit(ref.cu_offset); in GetCompleteObjCClass()
H A DNameToDIE.cpp42 size_t NameToDIE::FindAllEntriesForCompileUnit(dw_offset_t cu_offset, in FindAllEntriesForCompileUnit() argument
48 if (cu_offset == die_ref.cu_offset) in FindAllEntriesForCompileUnit()
60 die_ref.cu_offset, die_ref.die_offset, cstr.GetCString()); in Dump()
H A DDIERef.h22 DIERef(dw_offset_t c, dw_offset_t d) : cu_offset(c), die_offset(d) {} in DIERef()
49 return cu_offset != DW_INVALID_OFFSET || die_offset != DW_INVALID_OFFSET;
52 dw_offset_t cu_offset = DW_INVALID_OFFSET; member
H A DDWARFDebugArangeSet.h24 uint32_t cu_offset; // The offset from the beginning of the .debug_info member
44 void SetHeader(uint16_t version, uint32_t cu_offset, uint8_t addr_size,
51 dw_offset_t GetCompileUnitDIEOffset() const { return m_header.cu_offset; } in GetCompileUnitDIEOffset()
H A DHashedNameToDIE.cpp17 die_offsets.emplace_back(die_info_array[i].cu_offset, in ExtractDIEArray()
37 die_offsets.emplace_back(die_info_array[i].cu_offset, in ExtractDIEArray()
62 die_offsets.emplace_back(die_info_array[i].cu_offset, in ExtractDIEArray()
81 die_offsets.emplace_back(die_info_array[i].cu_offset, in ExtractClassOrStructDIEArray()
86 die_offsets.emplace(die_offsets.begin(), die_info_array[i].cu_offset, in ExtractClassOrStructDIEArray()
90 die_offsets.emplace_back(die_info_array[i].cu_offset, in ExtractClassOrStructDIEArray()
103 die_offsets.emplace_back(die_info_array[i].cu_offset, in ExtractTypesFromDIEArray()
129 : cu_offset(DW_INVALID_OFFSET), offset(DW_INVALID_OFFSET), tag(0), in DIEInfo()
134 : cu_offset(c), offset(o), tag(t), type_flags(f), qualified_name_hash(h) {} in DIEInfo()
H A DDWARFBaseDIE.cpp25 dw_offset_t cu_offset = m_cu->GetOffset(); in GetDIERef() local
27 cu_offset = m_cu->GetBaseObjOffset(); in GetDIERef()
28 return DIERef(cu_offset, m_die->GetOffset()); in GetDIERef()
H A DDWARFDebugAranges.cpp60 const dw_offset_t cu_offset = set.GetCompileUnitDIEOffset(); in Extract() local
66 descriptor.length, cu_offset)); in Extract()
H A DNameToDIE.h42 size_t FindAllEntriesForCompileUnit(dw_offset_t cu_offset,
H A DDWARFDebugAranges.h38 void AppendRange(dw_offset_t cu_offset, dw_addr_t low_pc, dw_addr_t high_pc);
H A DDWARFDebugInfo.h41 DWARFUnit *GetCompileUnit(dw_offset_t cu_offset, uint32_t *idx_ptr = NULL);
H A DManualDWARFIndex.h64 const dw_offset_t cu_offset, IndexSet &set);
H A DDWARFUnit.cpp481 const dw_offset_t cu_offset = GetOffset(); in BuildAddressRangeTable() local
493 debug_aranges->AppendRange(cu_offset, range.GetRangeBase(), in BuildAddressRangeTable()
530 debug_aranges->AppendRange(cu_offset, range.GetRangeBase(), in BuildAddressRangeTable()
H A DSymbolFileDWARFDwo.cpp168 lldbassert(m_base_dwarf_cu->GetOffset() == die_ref.cu_offset); in GetDIE()
H A DHashedNameToDIE.h52 dw_offset_t cu_offset; member
/freebsd-12.1/contrib/elftoolchain/libdwarf/
H A Ddwarf_die.c116 offset = at->u[0].u64 + cu->cu_offset; in dwarf_siblingof_b()
175 if (offset > cu->cu_offset && offset < cu->cu_next_offset) { in dwarf_offdie_b()
194 if (offset < cu->cu_offset || in dwarf_offdie_b()
208 if (offset < cu->cu_offset || in dwarf_offdie_b()
286 *ret_offset = die->die_offset - cu->cu_offset; in dwarf_die_CU_offset()
292 dwarf_die_CU_offset_range(Dwarf_Die die, Dwarf_Off *cu_offset, in dwarf_die_CU_offset_range() argument
300 if (die == NULL || cu_offset == NULL || cu_length == NULL) { in dwarf_die_CU_offset_range()
308 *cu_offset = cu->cu_offset; in dwarf_die_CU_offset_range()
359 if (cu->cu_offset == in_cu_header_offset) { in dwarf_get_cu_die_offset_given_cu_header_offset_b()
366 if (cu->cu_offset == in_cu_header_offset) { in dwarf_get_cu_die_offset_given_cu_header_offset_b()
H A Ddwarf_nametbl.m4124 Dwarf_Off *cu_offset, Dwarf_Error *error)
133 cu_offset == NULL) {
146 *cu_offset = cu->cu_1st_offset;
H A Dlibdwarf_nametbl.c113 if (cu->cu_offset == nt->nt_cu_offset) in _dwarf_nametbl_init()
186 nt->nt_cu_offset = nt->nt_cu->cu_offset; in _dwarf_nametbl_gen()
H A Dlibdwarf_arange.c103 if (cu->cu_offset == as->as_cu_offset) in _dwarf_arange_init()
H A Dlibdwarf_info.c175 cu->cu_offset = offset; in _dwarf_info_load()
/freebsd-12.1/contrib/binutils/binutils/
H A Ddwarf.c586 unsigned long cu_offset) in decode_location_expression() argument
930 unsigned long cu_offset, in read_and_display_attr_value() argument
1012 cu_offset, pointer_size, in read_and_display_attr_value()
1371 cu_offset); in read_and_display_attr_value()
1506 unsigned long cu_offset, in read_and_display_attr() argument
1601 unsigned long cu_offset; in process_debug_info() local
1637 debug_information [unit].cu_offset = cu_offset; in process_debug_info()
1760 tags, cu_offset, in process_debug_info()
2377 unsigned long cu_offset; in display_debug_loc() local
2383 cu_offset = debug_information [i].cu_offset; in display_debug_loc()
[all …]
H A Ddwarf.h76 unsigned long cu_offset; member

12