LLDB  mainline
Public Member Functions | List of all members
DWARFDIE Class Reference

#include <DWARFDIE.h>

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

Public Member Functions

bool IsStructUnionOrClass () const
 
bool IsMethod () const
 
lldb::ModuleSP GetContainingDWOModule () const
 
DWARFDIE GetContainingDWOModuleDIE () const
 
const char * GetMangledName () const
 
const char * GetPubname () const
 
const char * GetQualifiedName (std::string &storage) const
 
lldb_private::TypeResolveType () const
 
lldb_private::TypeResolveTypeUID (const DIERef &die_ref) const
 
DWARFDIE GetParent () const
 
DWARFDIE GetFirstChild () const
 
DWARFDIE GetSibling () const
 
DWARFDIE GetReferencedDIE (const dw_attr_t attr) const
 
DWARFDIE GetDIE (dw_offset_t die_offset) const
 
DWARFDIE LookupDeepestBlock (lldb::addr_t file_addr) const
 
DWARFDIE GetParentDeclContextDIE () const
 
std::vector< DWARFDIEGetDeclContextDIEs () const
 
void GetDWARFDeclContext (DWARFDeclContext &dwarf_decl_ctx) const
 
void GetDeclContext (std::vector< lldb_private::CompilerContext > &context) const
 Return this DIE's decl context as it is needed to look up types in Clang's -gmodules debug info format. More...
 
DWARFDIE GetAttributeValueAsReferenceDIE (const dw_attr_t attr) const
 
bool GetDIENamesAndRanges (const char *&name, const char *&mangled, DWARFRangeList &ranges, int &decl_file, int &decl_line, int &decl_column, int &call_file, int &call_line, int &call_column, lldb_private::DWARFExpression *frame_base) const
 
lldb_private::CompilerDecl GetDecl () const
 
lldb_private::CompilerDeclContext GetDeclContext () const
 
lldb_private::CompilerDeclContext GetContainingDeclContext () const
 
- Public Member Functions inherited from DWARFBaseDIE
 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
 

Additional Inherited Members

- Protected Attributes inherited from DWARFBaseDIE
DWARFUnitm_cu
 
DWARFDebugInfoEntrym_die
 

Detailed Description

Definition at line 15 of file DWARFDIE.h.

Member Function Documentation

◆ GetAttributeValueAsReferenceDIE()

DWARFDIE DWARFDIE::GetAttributeValueAsReferenceDIE ( const dw_attr_t  attr) const

◆ GetContainingDeclContext()

CompilerDeclContext DWARFDIE::GetContainingDeclContext ( ) const

◆ GetContainingDWOModule()

lldb::ModuleSP DWARFDIE::GetContainingDWOModule ( ) const

Definition at line 315 of file DWARFDIE.cpp.

References DWARFBaseDIE::GetName().

Referenced by DWARFASTParserClang::ParseTypeFromDWO().

◆ GetContainingDWOModuleDIE()

DWARFDIE DWARFDIE::GetContainingDWOModuleDIE ( ) const

Definition at line 296 of file DWARFDIE.cpp.

References DWARFBaseDIE::IsValid().

Referenced by DWARFASTParserClang::ParseTypeFromDWARF().

◆ GetDecl()

CompilerDecl DWARFDIE::GetDecl ( ) const

◆ GetDeclContext() [1/2]

void DWARFDIE::GetDeclContext ( std::vector< lldb_private::CompilerContext > &  context) const

◆ GetDeclContext() [2/2]

CompilerDeclContext DWARFDIE::GetDeclContext ( ) const

Definition at line 349 of file DWARFDIE.cpp.

References DWARFASTParser::GetDeclContextForUIDFromDWARF().

◆ GetDeclContextDIEs()

std::vector< DWARFDIE > DWARFDIE::GetDeclContextDIEs ( ) const

◆ GetDIE()

DWARFDIE DWARFDIE::GetDIE ( dw_offset_t  die_offset) const

◆ GetDIENamesAndRanges()

bool DWARFDIE::GetDIENamesAndRanges ( const char *&  name,
const char *&  mangled,
DWARFRangeList ranges,
int &  decl_file,
int &  decl_line,
int &  decl_column,
int &  call_file,
int &  call_line,
int &  call_column,
lldb_private::DWARFExpression frame_base 
) const

◆ GetDWARFDeclContext()

void DWARFDIE::GetDWARFDeclContext ( DWARFDeclContext dwarf_decl_ctx) const

◆ GetFirstChild()

DWARFDIE DWARFDIE::GetFirstChild ( ) const

◆ GetMangledName()

const char * DWARFDIE::GetMangledName ( ) const

◆ GetParent()

DWARFDIE DWARFDIE::GetParent ( ) const

◆ GetParentDeclContextDIE()

DWARFDIE DWARFDIE::GetParentDeclContextDIE ( ) const

◆ GetPubname()

const char * DWARFDIE::GetPubname ( ) const

Definition at line 173 of file DWARFDIE.cpp.

Referenced by CollectCallEdges().

◆ GetQualifiedName()

const char * DWARFDIE::GetQualifiedName ( std::string &  storage) const

◆ GetReferencedDIE()

DWARFDIE DWARFDIE::GetReferencedDIE ( const dw_attr_t  attr) const

◆ GetSibling()

DWARFDIE DWARFDIE::GetSibling ( ) const

◆ IsMethod()

bool DWARFDIE::IsMethod ( ) const

Definition at line 288 of file DWARFDIE.cpp.

Referenced by lldb_private::DWARFIndex::ProcessFunctionDIE().

◆ IsStructUnionOrClass()

bool DWARFDIE::IsStructUnionOrClass ( ) const

Definition at line 282 of file DWARFDIE.cpp.

◆ LookupDeepestBlock()

DWARFDIE DWARFDIE::LookupDeepestBlock ( lldb::addr_t  file_addr) const

◆ ResolveType()

lldb_private::Type * DWARFDIE::ResolveType ( ) const

◆ ResolveTypeUID()

lldb_private::Type * DWARFDIE::ResolveTypeUID ( const DIERef die_ref) const

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