Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/
H A DDIERef.cpp23 OS << "/" << format_hex_no_prefix(ref.die_offset(), 8); in format()
38 dw_offset_t die_offset = data.GetU32(offset_ptr); in Decode() local
39 if (die_offset == 0) in Decode()
42 return DIERef(dwo_num, section, die_offset); in Decode()
44 return DIERef(std::nullopt, section, die_offset); in Decode()
H A DDWARFDebugInfo.cpp158 return GetUnitContainingDIEOffset(die_ref.section(), die_ref.die_offset()); in GetUnit()
163 dw_offset_t die_offset) { in GetUnitContainingDIEOffset() argument
164 uint32_t idx = FindUnitIndex(section, die_offset); in GetUnitContainingDIEOffset()
166 if (result && !result->ContainsDIEOffset(die_offset)) in GetUnitContainingDIEOffset()
191 return cu->GetNonSkeletonUnit().GetDIE(die_ref.die_offset()); in GetDIE()
H A DDIERef.h31 dw_offset_t die_offset) in DIERef() argument
33 m_section(section), m_die_offset(die_offset) { in DIERef()
45 dw_offset_t die_offset() const { return m_die_offset; } in die_offset() function
H A DHashedNameToDIE.cpp132 : die_offset(o), tag(t), type_flags(f), qualified_name_hash(h) {} in DIEInfo()
280 hash_data.die_offset = in Read()
303 return hash_data.die_offset != DW_INVALID_OFFSET; in Read()
514 if (die_info.die_offset == 0) in AppendAllDIEsInRange()
516 if (die_offset_start <= die_info.die_offset && in AppendAllDIEsInRange()
517 die_info.die_offset < die_offset_end) in AppendAllDIEsInRange()
H A DDWARFAttribute.h53 return m_infos[i].die_offset; in DIEOffsetAtIndex()
73 dw_offset_t die_offset; member
H A DDWARFUnit.h143 bool ContainsDIEOffset(dw_offset_t die_offset) const { in ContainsDIEOffset() argument
144 return die_offset >= GetFirstDIEOffset() && in ContainsDIEOffset()
145 die_offset < GetNextUnitOffset(); in ContainsDIEOffset()
182 DWARFDIE GetDIE(dw_offset_t die_offset);
H A DDWARFDebugInfoEntry.cpp506 dw_offset_t die_offset = die.GetDIE()->GetAttributeValue( in GetAttributeValue() local
508 if (die_offset) in GetAttributeValue()
509 return die_offset; in GetAttributeValue()
516 dw_offset_t die_offset = die.GetDIE()->GetAttributeValue( in GetAttributeValue() local
518 if (die_offset) in GetAttributeValue()
519 return die_offset; in GetAttributeValue()
H A DDWARFUnit.cpp631 const dw_offset_t die_offset) { in CompareDIEOffset() argument
632 return die.GetOffset() < die_offset; in CompareDIEOffset()
641 DWARFUnit::GetDIE(dw_offset_t die_offset) { in GetDIE() argument
642 if (die_offset == DW_INVALID_OFFSET) in GetDIE()
645 if (!ContainsDIEOffset(die_offset)) { in GetDIE()
647 "GetDIE for DIE {0:x16} is outside of its CU {0:x16}", die_offset, in GetDIE()
655 lower_bound(m_die_array.cbegin(), end, die_offset, CompareDIEOffset); in GetDIE()
657 if (pos != end && die_offset == (*pos).GetOffset()) in GetDIE()
H A DHashedNameToDIE.h55 dw_offset_t die_offset = DW_INVALID_OFFSET; member
68 return DIERef(std::nullopt, DIERef::Section::DebugInfo, die_offset); in DIERef()
H A DNameToDIE.cpp60 ns_unit.GetOffset() <= die_ref.die_offset() && in FindAllEntriesForUnit()
61 die_ref.die_offset() < ns_unit.GetNextUnitOffset()) { in FindAllEntriesForUnit()
H A DDWARFDebugInfo.h42 dw_offset_t die_offset);
H A DDWARFDIE.h61 GetDIE(dw_offset_t die_offset) const;
H A DDWARFDIE.cpp118 DWARFDIE::GetDIE(dw_offset_t die_offset) const { in GetDIE()
120 return m_cu->GetDIE(die_offset); in GetDIE()
H A DDWARFIndex.cpp106 ref.die_offset(), name.str().c_str()); in ReportInvalidDIERef()
H A DDebugNamesDWARFIndex.cpp56 if (std::optional<uint64_t> die_offset = entry.getDIEUnitOffset()) in ToDIERef() local
58 DIERef::Section::DebugInfo, cu->GetOffset() + *die_offset); in ToDIERef()
H A DSymbolFileDWARF.cpp284 const dw_offset_t die_offset = die.GetOffset(); in GetTypes() local
286 if (die_offset >= max_die_offset) in GetTypes()
289 if (die_offset >= min_die_offset) { in GetTypes()
1401 return GetID() | ref.die_offset(); in GetUID()
1404 return user_id_t(GetDwoNum().value_or(0)) << 32 | ref.die_offset() | in GetUID()
1427 dw_offset_t die_offset = uid; in DecodeUID() local
1428 if (die_offset == DW_INVALID_OFFSET) in DecodeUID()
1439 return DecodedUID{*this, {dwo_num, section, die_offset}}; in DecodeUID()
/openbsd/usr.bin/ctfconv/
H A Dparse.c822 it = it_new(++tidx, die->die_offset, enc2name(enc), bits, in parse_base()
854 it = it_new(++tidx, die->die_offset, name, size, 0, ref, type, in parse_refers()
891 it = it_new(++tidx, die->die_offset, name, 0, 0, ref, CTF_K_ARRAY, in parse_array()
922 it = it_new(++tidx, die->die_offset, name, size, 0, 0, CTF_K_ENUM, 0); in parse_enum()
1051 it = it_new(++tidx, die->die_offset, name, size, 0, 0, type, flags); in parse_struct()
1126 ref = die->die_offset - offset; in subparse_member()
1237 it = it_new(++fidx, die->die_offset, name, 0, 0, ref, CTF_K_FUNCTION, in parse_function()
1274 it = it_new(++tidx, die->die_offset, name, 0, 0, ref, CTF_K_FUNCTION, in parse_funcptr()
1329 it = it_new(++oidx, die->die_offset, name, 0, 0, ref, 0, in parse_variable()
H A Ddw.h63 size_t die_offset; member
H A Ddw.c378 die->die_offset = doff; in dw_die_parse()
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_discovery.c553 uint16_t die_offset, ip_offset, num_dies, num_ips; in amdgpu_discovery_read_harvest_bit_per_ip() local
563 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
564 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_read_harvest_bit_per_ip()
566 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_read_harvest_bit_per_ip()
1061 u16 num_dies, die_offset, num_ips; in amdgpu_discovery_sysfs_recurse() local
1075 die_offset = le16_to_cpu(ihdr->die_info[ii].die_offset); in amdgpu_discovery_sysfs_recurse()
1076 dhdr = (struct die_header *)(adev->mman.discovery_bin + die_offset); in amdgpu_discovery_sysfs_recurse()
1078 ip_offset = die_offset + sizeof(*dhdr); in amdgpu_discovery_sysfs_recurse()
1227 uint16_t die_offset; in amdgpu_discovery_reg_base_init() local
1254 die_offset = le16_to_cpu(ihdr->die_info[i].die_offset); in amdgpu_discovery_reg_base_init()
[all …]
/openbsd/sys/dev/pci/drm/amd/include/
H A Ddiscovery.h70 uint16_t die_offset; /* Points to the corresponding die_header structure */ member
/openbsd/gnu/llvm/lldb/source/Expression/
H A DDWARFExpression.cpp2384 const uint64_t die_offset = opcodes.GetULEB128(&offset); in Evaluate() local
2387 if (die_offset == 0) { in Evaluate()
2406 const uint64_t abs_die_offset = die_offset + dwarf_cu->GetOffset(); in Evaluate()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Ddwarf2out.c3259 dw_offset die_offset; member
5260 die->die_offset, dwarf_tag_name (die->die_tag));
5263 fprintf (outfile, " offset: %lu\n", die->die_offset);
5311 fprintf (outfile, "die -> %lu", AT_ref (a)->die_offset);
6298 die->die_offset = next_die_offset;
6657 die->die_offset, dwarf_tag_name (die->die_tag));
6777 else if (AT_ref (a)->die_offset == 0)
6780 dw2_asm_output_data (DWARF_OFFSET_SIZE, AT_ref (a)->die_offset,
6822 die->die_offset);
6956 dw2_asm_output_data (DWARF_OFFSET_SIZE, pub->die->die_offset, in output_pubnames()
/openbsd/gnu/gcc/gcc/
H A Ddwarf2out.c3735 dw_offset die_offset; member
5744 die->die_offset, dwarf_tag_name (die->die_tag)); in print_die()
5747 fprintf (outfile, " offset: %lu\n", die->die_offset); in print_die()
5795 fprintf (outfile, "die -> %lu", AT_ref (a)->die_offset); in print_die()
6693 die->die_offset = next_die_offset; in calc_die_sizes()
7065 die->die_offset, dwarf_tag_name (die->die_tag)); in output_die()
7187 gcc_assert (AT_ref (a)->die_offset); in output_die()
7188 dw2_asm_output_data (DWARF_OFFSET_SIZE, AT_ref (a)->die_offset, in output_die()
7247 die->die_offset); in output_die()
7382 dw2_asm_output_data (DWARF_OFFSET_SIZE, pub->die->die_offset, in output_pubnames()
/openbsd/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DDwarf.def1218 HANDLE_DW_IDX(0x03, die_offset)

12