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

#include <DWARFDIE.h>

Inheritance diagram for DWARFDIE:
Inheritance graph
Collaboration diagram for DWARFDIE:
Collaboration graph

Public Member Functions

bool IsStructUnionOrClass () const
bool IsMethod () const
const char * GetMangledName () const
const char * GetPubname () const
const char * GetQualifiedName (std::string &storage) const
void GetName (lldb_private::Stream &s) const
void AppendTypeName (lldb_private::Stream &s) const
lldb_private::TypeResolveType () const
lldb_private::TypeResolveTypeUID (const DWARFDIE &die) 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 GetDeclContext (llvm::SmallVectorImpl< 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
- Public Member Functions inherited from 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
llvm::Optional< DIERefGetDIERef () 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::ModuleSP GetModule () 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 GetAttributeValueAsAddress (const dw_attr_t attr, uint64_t fail_value) const
size_t GetAttributes (DWARFAttributes &attributes, Recurse recurse=Recurse::yes) const

Additional Inherited Members

- Public Types inherited from DWARFBaseDIE
enum  Recurse : bool { Recurse::no, Recurse::yes }
- Protected Attributes inherited from DWARFBaseDIE

Detailed Description

Definition at line 15 of file DWARFDIE.h.

Member Function Documentation

◆ AppendTypeName()

void DWARFDIE::AppendTypeName ( lldb_private::Stream s) const

◆ GetAttributeValueAsReferenceDIE()

DWARFDIE DWARFDIE::GetAttributeValueAsReferenceDIE ( const dw_attr_t  attr) const

Definition at line 130 of file DWARFDIE.cpp.

References DWARFFormValue::Reference().

Referenced by DWARFASTParserClang::GetClangDeclForDIE().

◆ GetDeclContext()

void DWARFDIE::GetDeclContext ( llvm::SmallVectorImpl< lldb_private::CompilerContext > &  context) const

◆ 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

◆ GetFirstChild()

DWARFDIE DWARFDIE::GetFirstChild ( ) const

◆ GetMangledName()

const char * DWARFDIE::GetMangledName ( ) const

◆ GetName()

void DWARFDIE::GetName ( lldb_private::Stream s) const

◆ GetParent()

DWARFDIE DWARFDIE::GetParent ( ) const

◆ GetParentDeclContextDIE()

DWARFDIE DWARFDIE::GetParentDeclContextDIE ( ) const

◆ GetPubname()

const char * DWARFDIE::GetPubname ( ) const

Definition at line 210 of file DWARFDIE.cpp.

Referenced by SymbolFileDWARF::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

◆ IsStructUnionOrClass()

bool DWARFDIE::IsStructUnionOrClass ( ) const

Definition at line 426 of file DWARFDIE.cpp.

◆ LookupDeepestBlock()

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

◆ ResolveType()

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

Definition at line 348 of file DWARFDIE.cpp.

Referenced by DWARFASTParserClang::CompleteRecordType().

◆ ResolveTypeUID()

lldb_private::Type * DWARFDIE::ResolveTypeUID ( const DWARFDIE die) const

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