9#ifndef LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DIEREF_H
10#define LLDB_SOURCE_PLUGINS_SYMBOLFILE_DWARF_DIEREF_H
38 assert(this->
file_index() == file_index &&
"File Index is out of range?");
119 static constexpr uint64_t
134static_assert(
sizeof(
DIERef) == 8);
141template <>
struct format_provider<
lldb_private::plugin::dwarf::DIERef> {
143 raw_ostream &OS, StringRef Style);
An binary data encoding class.
Identifies a DWARF debug info entry within a given Module.
bool operator<(DIERef other) const
static constexpr uint64_t k_section_bit
dw_offset_t m_file_index_valid
DIERef(std::optional< uint32_t > file_index, Section section, dw_offset_t die_offset)
DIERef(lldb::user_id_t uid)
lldb::user_id_t get_id() const
static constexpr uint64_t k_file_index_valid_bit
std::optional< uint32_t > file_index() const
void Encode(DataEncoder &encoder) const
Encode this object into a data encoder object.
static std::optional< DIERef > Decode(const DataExtractor &data, lldb::offset_t *offset_ptr)
Decode a serialized version of this object from data.
bool operator!=(const DIERef &rhs) const
static constexpr uint64_t k_die_offset_bit_size
static constexpr uint64_t k_file_index_mask
static constexpr uint64_t k_file_index_bit_size
bool operator==(const DIERef &rhs) const
static constexpr uint64_t k_die_offset_mask
dw_offset_t die_offset() const
#define DW_DIE_OFFSET_MAX_BITSIZE
std::vector< DIERef > DIEArray
A class that represents a running process on the host machine.