LLDB mainline
|
#include <DWARFASTParser.h>
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 Function * | ParseFunctionFromDWARF (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::Type * | GetTypeForDIE (const DWARFDIE &die) |
Kind | GetKind () const |
Static Public Member Functions | |
static std::optional< SymbolFile::ArrayInfo > | ParseChildArrayInfo (const DWARFDIE &parent_die, const ExecutionContext *exe_ctx=nullptr) |
static lldb::AccessType | GetAccessTypeFromDWARF (uint32_t dwarf_accessibility) |
Private Attributes | |
const Kind | m_kind |
Definition at line 30 of file DWARFASTParser.h.
|
strong |
Enumerator | |
---|---|
DWARFASTParserClang |
Definition at line 32 of file DWARFASTParser.h.
|
inline |
Definition at line 33 of file DWARFASTParser.h.
|
virtualdefault |
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::CompleteType().
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::ConstructFunctionDemangledName().
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::ParseDeclsForContext().
|
static |
Definition at line 129 of file DWARFASTParser.cpp.
References lldb::eAccessNone, lldb::eAccessPrivate, lldb::eAccessProtected, and lldb::eAccessPublic.
Referenced by DWARFASTParserClang::MemberAttributes::MemberAttributes(), ParsedDWARFTypeAttributes::ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseInheritance().
|
pure virtual |
Implemented in DWARFASTParserClang.
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::FindNamespace().
|
pure virtual |
Implemented in DWARFASTParserClang.
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::FindDefinitionDIE().
|
inline |
Definition at line 71 of file DWARFASTParser.h.
References m_kind.
Definition at line 104 of file DWARFASTParser.cpp.
References lldb_private::plugin::dwarf::DWARFAttributes::AttributeAtIndex(), lldb_private::plugin::dwarf::DWARFAttributes::ExtractFormValueAtIndex(), lldb_private::plugin::dwarf::DWARFBaseDIE::GetAttributes(), lldb_private::plugin::dwarf::DWARFBaseDIE::GetDWARF(), lldb_private::plugin::dwarf::DWARFFormValue::Reference(), and lldb_private::plugin::dwarf::DWARFAttributes::Size().
Referenced by DWARFASTParserClang::GetClangDeclForDIE().
|
static |
Definition at line 25 of file DWARFASTParser.cpp.
References lldb_private::plugin::dwarf::DWARFAttributes::AttributeAtIndex(), lldb_private::SymbolFile::ArrayInfo::bit_stride, lldb_private::SymbolFile::ArrayInfo::byte_stride, lldb_private::plugin::dwarf::DWARFDIE::children(), lldb_private::SymbolFile::ArrayInfo::element_orders, lldb::eNoDynamicValues, error(), lldb_private::plugin::dwarf::DWARFAttributes::ExtractFormValueAtIndex(), lldb_private::ExecutionContext::GetFrameSP(), lldb_private::plugin::dwarf::DWARFDIE::GetReferencedDIE(), lldb_private::plugin::dwarf::DWARFAttributes::Size(), and lldb_private::plugin::dwarf::DWARFFormValue::Unsigned().
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::GetDynamicArrayInfoForUID(), and DWARFASTParserClang::ParseArrayType().
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::ParseFunction().
|
pure virtual |
Implemented in DWARFASTParserClang.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::ParseType().
|
private |
Definition at line 74 of file DWARFASTParser.h.
Referenced by GetKind().