LLDB  mainline
Public Types | Public Member Functions | Private Attributes | List of all members
DIERef Class Reference

Identifies a DWARF debug info entry within a given Module. More...

#include <DIERef.h>

Collaboration diagram for DIERef:
Collaboration graph
[legend]

Public Types

enum  Section : uint8_t { DebugInfo, DebugTypes }
 

Public Member Functions

 DIERef (llvm::Optional< uint32_t > dwo_num, Section section, dw_offset_t die_offset)
 
llvm::Optional< uint32_tdwo_num () const
 
Section section () const
 
dw_offset_t die_offset () const
 
bool operator< (DIERef other) const
 

Private Attributes

uint32_t m_dwo_num: 30
 
uint32_t m_dwo_num_valid: 1
 
uint32_t m_section: 1
 
dw_offset_t m_die_offset
 

Detailed Description

Identifies a DWARF debug info entry within a given Module.

It contains three "coordinates":

Definition at line 26 of file DIERef.h.

Member Enumeration Documentation

◆ Section

enum DIERef::Section : uint8_t
Enumerator
DebugInfo 
DebugTypes 

Definition at line 28 of file DIERef.h.

Constructor & Destructor Documentation

◆ DIERef()

DIERef::DIERef ( llvm::Optional< uint32_t dwo_num,
Section  section,
dw_offset_t  die_offset 
)
inline

Definition at line 30 of file DIERef.h.

References dwo_num().

Member Function Documentation

◆ die_offset()

dw_offset_t DIERef::die_offset ( ) const
inline

◆ dwo_num()

llvm::Optional<uint32_t> DIERef::dwo_num ( ) const
inline

◆ operator<()

bool DIERef::operator< ( DIERef  other) const
inline

Definition at line 47 of file DIERef.h.

References m_die_offset, m_dwo_num, m_dwo_num_valid, and m_section.

◆ section()

Section DIERef::section ( ) const
inline

Member Data Documentation

◆ m_die_offset

dw_offset_t DIERef::m_die_offset
private

Definition at line 61 of file DIERef.h.

Referenced by die_offset(), and operator<().

◆ m_dwo_num

uint32_t DIERef::m_dwo_num
private

Definition at line 58 of file DIERef.h.

Referenced by dwo_num(), and operator<().

◆ m_dwo_num_valid

uint32_t DIERef::m_dwo_num_valid
private

Definition at line 59 of file DIERef.h.

Referenced by dwo_num(), and operator<().

◆ m_section

uint32_t DIERef::m_section
private

Definition at line 60 of file DIERef.h.

Referenced by operator<(), and section().


The documentation for this class was generated from the following file: