LLDB  mainline
Public Member Functions | Protected Attributes | List of all members
DWARFBaseDIE Class Reference

#include <DWARFBaseDIE.h>

Inheritance diagram for DWARFBaseDIE:
Inheritance graph
[legend]
Collaboration diagram for DWARFBaseDIE:
Collaboration graph
[legend]

Public Member Functions

 DWARFBaseDIE ()
 
 DWARFBaseDIE (DWARFUnit *cu, DWARFDebugInfoEntry *die)
 
 DWARFBaseDIE (const DWARFUnit *cu, DWARFDebugInfoEntry *die)
 
 DWARFBaseDIE (DWARFUnit *cu, const DWARFDebugInfoEntry *die)
 
 DWARFBaseDIE (const DWARFUnit *cu, const DWARFDebugInfoEntry *die)
 
 operator bool () const
 
bool IsValid () const
 
bool HasChildren () const
 
bool Supports_DW_AT_APPLE_objc_complete_type () const
 
SymbolFileDWARFGetDWARF () const
 
DWARFUnitGetCU () const
 
DWARFDebugInfoEntryGetDIE () const
 
DIERef GetDIERef () const
 
lldb_private::TypeSystemGetTypeSystem () const
 
DWARFASTParserGetDWARFParser () const
 
void Set (DWARFUnit *cu, DWARFDebugInfoEntry *die)
 
void Clear ()
 
const lldb_private::DWARFDataExtractorGetData () const
 
dw_tag_t Tag () const
 
const char * GetTagAsCString () const
 
dw_offset_t GetOffset () const
 
lldb::user_id_t GetID () const
 
const char * GetName () const
 
lldb::LanguageType GetLanguage () const
 
lldb::ModuleSP GetModule () const
 
lldb_private::CompileUnitGetLLDBCompileUnit () const
 
const char * GetAttributeValueAsString (const dw_attr_t attr, const char *fail_value) const
 
uint64_t GetAttributeValueAsUnsigned (const dw_attr_t attr, uint64_t fail_value) const
 
uint64_t GetAttributeValueAsReference (const dw_attr_t attr, uint64_t fail_value) const
 
uint64_t GetAttributeValueAsAddress (const dw_attr_t attr, uint64_t fail_value) const
 
size_t GetAttributes (DWARFAttributes &attributes, uint32_t depth=0) const
 

Protected Attributes

DWARFUnitm_cu
 
DWARFDebugInfoEntrym_die
 

Detailed Description

Definition at line 23 of file DWARFBaseDIE.h.

Constructor & Destructor Documentation

◆ DWARFBaseDIE() [1/5]

DWARFBaseDIE::DWARFBaseDIE ( )
inline

Definition at line 25 of file DWARFBaseDIE.h.

◆ DWARFBaseDIE() [2/5]

DWARFBaseDIE::DWARFBaseDIE ( DWARFUnit cu,
DWARFDebugInfoEntry die 
)
inline

Definition at line 27 of file DWARFBaseDIE.h.

◆ DWARFBaseDIE() [3/5]

DWARFBaseDIE::DWARFBaseDIE ( const DWARFUnit cu,
DWARFDebugInfoEntry die 
)
inline

Definition at line 30 of file DWARFBaseDIE.h.

◆ DWARFBaseDIE() [4/5]

DWARFBaseDIE::DWARFBaseDIE ( DWARFUnit cu,
const DWARFDebugInfoEntry die 
)
inline

Definition at line 33 of file DWARFBaseDIE.h.

◆ DWARFBaseDIE() [5/5]

DWARFBaseDIE::DWARFBaseDIE ( const DWARFUnit cu,
const DWARFDebugInfoEntry die 
)
inline

Definition at line 36 of file DWARFBaseDIE.h.

Member Function Documentation

◆ Clear()

void DWARFBaseDIE::Clear ( )
inline

◆ GetAttributes()

size_t DWARFBaseDIE::GetAttributes ( DWARFAttributes attributes,
uint32_t  depth = 0 
) const

◆ GetAttributeValueAsAddress()

uint64_t DWARFBaseDIE::GetAttributeValueAsAddress ( const dw_attr_t  attr,
uint64_t  fail_value 
) const

Definition at line 68 of file DWARFBaseDIE.cpp.

Referenced by Clear(), and SymbolFileDWARF::ParseVariablesForContext().

◆ GetAttributeValueAsReference()

uint64_t DWARFBaseDIE::GetAttributeValueAsReference ( const dw_attr_t  attr,
uint64_t  fail_value 
) const

Definition at line 59 of file DWARFBaseDIE.cpp.

Referenced by Clear(), and SymbolFileDWARF::FindBlockContainingSpecification().

◆ GetAttributeValueAsString()

const char * DWARFBaseDIE::GetAttributeValueAsString ( const dw_attr_t  attr,
const char *  fail_value 
) const

◆ GetAttributeValueAsUnsigned()

uint64_t DWARFBaseDIE::GetAttributeValueAsUnsigned ( const dw_attr_t  attr,
uint64_t  fail_value 
) const

◆ GetCU()

DWARFUnit* DWARFBaseDIE::GetCU ( ) const
inline

◆ GetData()

const DWARFDataExtractor & DWARFBaseDIE::GetData ( ) const

Definition at line 166 of file DWARFBaseDIE.cpp.

Referenced by Clear(), and SymbolFileDWARF::ParseVariableDIE().

◆ GetDIE()

DWARFDebugInfoEntry* DWARFBaseDIE::GetDIE ( ) const
inline

◆ GetDIERef()

DIERef DWARFBaseDIE::GetDIERef ( ) const

◆ GetDWARF()

SymbolFileDWARF * DWARFBaseDIE::GetDWARF ( ) const

◆ GetDWARFParser()

DWARFASTParser * DWARFBaseDIE::GetDWARFParser ( ) const

◆ GetID()

lldb::user_id_t DWARFBaseDIE::GetID ( ) const

◆ GetLanguage()

lldb::LanguageType DWARFBaseDIE::GetLanguage ( ) const

◆ GetLLDBCompileUnit()

lldb_private::CompileUnit * DWARFBaseDIE::GetLLDBCompileUnit ( ) const

◆ GetModule()

lldb::ModuleSP DWARFBaseDIE::GetModule ( ) const

◆ GetName()

const char * DWARFBaseDIE::GetName ( ) const

◆ GetOffset()

dw_offset_t DWARFBaseDIE::GetOffset ( ) const

◆ GetTagAsCString()

const char * DWARFBaseDIE::GetTagAsCString ( ) const

◆ GetTypeSystem()

lldb_private::TypeSystem * DWARFBaseDIE::GetTypeSystem ( ) const

Definition at line 124 of file DWARFBaseDIE.cpp.

Referenced by GetDIE().

◆ HasChildren()

bool DWARFBaseDIE::HasChildren ( ) const

◆ IsValid()

bool DWARFBaseDIE::IsValid ( ) const
inline

◆ operator bool()

DWARFBaseDIE::operator bool ( ) const
inlineexplicit

Definition at line 41 of file DWARFBaseDIE.h.

References IsValid().

◆ Set()

void DWARFBaseDIE::Set ( DWARFUnit cu,
DWARFDebugInfoEntry die 
)
inline

Definition at line 62 of file DWARFBaseDIE.h.

References Clear(), m_cu, and m_die.

◆ Supports_DW_AT_APPLE_objc_complete_type()

bool DWARFBaseDIE::Supports_DW_AT_APPLE_objc_complete_type ( ) const

◆ Tag()

dw_tag_t DWARFBaseDIE::Tag ( ) const

Member Data Documentation

◆ m_cu

DWARFUnit* DWARFBaseDIE::m_cu
protected

Definition at line 125 of file DWARFBaseDIE.h.

Referenced by Clear(), GetCU(), IsValid(), and Set().

◆ m_die

DWARFDebugInfoEntry* DWARFBaseDIE::m_die
protected

Definition at line 126 of file DWARFBaseDIE.h.

Referenced by Clear(), UniqueDWARFASTTypeList::Find(), GetDIE(), IsValid(), and Set().


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