class DwarfDieRef

Defined at line 16 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

Public Methods

void DwarfDieRef ()

Defined at line 23 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

DwarfDieRef Main (uint64_t off)

Defined at line 25 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

DwarfDieRef Type (uint64_t off)

Defined at line 26 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

DwarfDieRef ForTypeUnit (int dwarf_version, uint64_t off)

Returns a DwarfDieRef for a DIE inside a type unit of the given DWARF version.

DWARF 4 places type units in .debug_types (Section::kType), while DWARF 5

places type units directly in .debug_info (Section::kMain).

Defined at line 31 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

bool is_valid ()

Defined at line 38 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

bool operator bool ()

Defined at line 39 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

uint64_t offset ()

Defined at line 41 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

Section section ()

Defined at line 45 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

std::strong_ordering operator<=> (const DwarfDieRef & other)

Defined at line 47 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

DwarfDieRef operator+ (uint64_t addend)

Defined at line 49 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h

Enumerations

enum class Section : uint8_t
Name Value Comments
kMain 0

.debug_info

kType 1

.debug_types

Defined at line 18 of file ../../src/developer/debug/zxdb/symbols/dwarf_die_ref.h