LLDB mainline
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
lldb_private::plugin::dwarf::DWARFASTParser Class Referenceabstract

#include <DWARFASTParser.h>

Inheritance diagram for lldb_private::plugin::dwarf::DWARFASTParser:
Inheritance graph
[legend]

Public Types

enum class  Kind { DWARFASTParserClang }
 

Public Member Functions

 DWARFASTParser (Kind kind)
 
virtual ~DWARFASTParser ()=default
 
virtual lldb::TypeSP ParseTypeFromDWARF (const SymbolContext &sc, const DWARFDIE &die, bool *type_is_new_ptr)=0
 
virtual ConstString ConstructDemangledNameFromDWARF (const DWARFDIE &die)=0
 
virtual FunctionParseFunctionFromDWARF (CompileUnit &comp_unit, const DWARFDIE &die, const AddressRange &range)=0
 
virtual bool CompleteTypeFromDWARF (const DWARFDIE &die, Type *type, const CompilerType &compiler_type)=0
 
virtual CompilerDecl GetDeclForUIDFromDWARF (const DWARFDIE &die)=0
 
virtual CompilerDeclContext GetDeclContextForUIDFromDWARF (const DWARFDIE &die)=0
 
virtual CompilerDeclContext GetDeclContextContainingUIDFromDWARF (const DWARFDIE &die)=0
 
virtual void EnsureAllDIEsInDeclContextHaveBeenParsed (CompilerDeclContext decl_context)=0
 
virtual std::string GetDIEClassTemplateParams (const DWARFDIE &die)=0
 
lldb_private::TypeGetTypeForDIE (const DWARFDIE &die)
 
Kind GetKind () const
 

Static Public Member Functions

static std::optional< SymbolFile::ArrayInfoParseChildArrayInfo (const DWARFDIE &parent_die, const ExecutionContext *exe_ctx=nullptr)
 
static lldb::AccessType GetAccessTypeFromDWARF (uint32_t dwarf_accessibility)
 

Private Attributes

const Kind m_kind
 

Detailed Description

Definition at line 30 of file DWARFASTParser.h.

Member Enumeration Documentation

◆ Kind

Enumerator
DWARFASTParserClang 

Definition at line 32 of file DWARFASTParser.h.

Constructor & Destructor Documentation

◆ DWARFASTParser()

lldb_private::plugin::dwarf::DWARFASTParser::DWARFASTParser ( Kind  kind)
inline

Definition at line 33 of file DWARFASTParser.h.

◆ ~DWARFASTParser()

virtual lldb_private::plugin::dwarf::DWARFASTParser::~DWARFASTParser ( )
virtualdefault

Member Function Documentation

◆ CompleteTypeFromDWARF()

virtual bool lldb_private::plugin::dwarf::DWARFASTParser::CompleteTypeFromDWARF ( const DWARFDIE die,
Type type,
const CompilerType compiler_type 
)
pure virtual

◆ ConstructDemangledNameFromDWARF()

virtual ConstString lldb_private::plugin::dwarf::DWARFASTParser::ConstructDemangledNameFromDWARF ( const DWARFDIE die)
pure virtual

◆ EnsureAllDIEsInDeclContextHaveBeenParsed()

virtual void lldb_private::plugin::dwarf::DWARFASTParser::EnsureAllDIEsInDeclContextHaveBeenParsed ( CompilerDeclContext  decl_context)
pure virtual

◆ GetAccessTypeFromDWARF()

AccessType DWARFASTParser::GetAccessTypeFromDWARF ( uint32_t  dwarf_accessibility)
static

◆ GetDeclContextContainingUIDFromDWARF()

virtual CompilerDeclContext lldb_private::plugin::dwarf::DWARFASTParser::GetDeclContextContainingUIDFromDWARF ( const DWARFDIE die)
pure virtual

Implemented in DWARFASTParserClang.

◆ GetDeclContextForUIDFromDWARF()

virtual CompilerDeclContext lldb_private::plugin::dwarf::DWARFASTParser::GetDeclContextForUIDFromDWARF ( const DWARFDIE die)
pure virtual

◆ GetDeclForUIDFromDWARF()

virtual CompilerDecl lldb_private::plugin::dwarf::DWARFASTParser::GetDeclForUIDFromDWARF ( const DWARFDIE die)
pure virtual

Implemented in DWARFASTParserClang.

◆ GetDIEClassTemplateParams()

virtual std::string lldb_private::plugin::dwarf::DWARFASTParser::GetDIEClassTemplateParams ( const DWARFDIE die)
pure virtual

◆ GetKind()

Kind lldb_private::plugin::dwarf::DWARFASTParser::GetKind ( ) const
inline

Definition at line 71 of file DWARFASTParser.h.

References m_kind.

◆ GetTypeForDIE()

Type * DWARFASTParser::GetTypeForDIE ( const DWARFDIE die)

◆ ParseChildArrayInfo()

std::optional< SymbolFile::ArrayInfo > DWARFASTParser::ParseChildArrayInfo ( const DWARFDIE parent_die,
const ExecutionContext exe_ctx = nullptr 
)
static

◆ ParseFunctionFromDWARF()

virtual Function * lldb_private::plugin::dwarf::DWARFASTParser::ParseFunctionFromDWARF ( CompileUnit comp_unit,
const DWARFDIE die,
const AddressRange range 
)
pure virtual

◆ ParseTypeFromDWARF()

virtual lldb::TypeSP lldb_private::plugin::dwarf::DWARFASTParser::ParseTypeFromDWARF ( const SymbolContext sc,
const DWARFDIE die,
bool *  type_is_new_ptr 
)
pure virtual

Member Data Documentation

◆ m_kind

const Kind lldb_private::plugin::dwarf::DWARFASTParser::m_kind
private

Definition at line 74 of file DWARFASTParser.h.

Referenced by GetKind().


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