LLDB mainline
|
Parsed form of all attributes that are relevant for type reconstruction. More...
#include <DWARFASTParserClang.h>
Public Member Functions | |
ParsedDWARFTypeAttributes (const DWARFDIE &die) | |
Public Attributes | |
lldb::AccessType | accessibility = lldb::eAccessNone |
bool | is_artificial = false |
bool | is_complete_objc_class = false |
bool | is_explicit = false |
bool | is_forward_declaration = false |
bool | is_inline = false |
bool | is_scoped_enum = false |
bool | is_vector = false |
bool | is_virtual = false |
bool | is_objc_direct_call = false |
bool | exports_symbols = false |
clang::StorageClass | storage = clang::SC_None |
const char * | mangled_name = nullptr |
lldb_private::ConstString | name |
lldb_private::Declaration | decl |
DWARFDIE | object_pointer |
DWARFFormValue | abstract_origin |
DWARFFormValue | containing_type |
DWARFFormValue | signature |
DWARFFormValue | specification |
DWARFFormValue | type |
lldb::LanguageType | class_language = lldb::eLanguageTypeUnknown |
std::optional< uint64_t > | byte_size |
size_t | calling_convention = llvm::dwarf::DW_CC_normal |
uint32_t | bit_stride = 0 |
uint32_t | byte_stride = 0 |
uint32_t | encoding = 0 |
clang::RefQualifierKind | ref_qual |
Indicates ref-qualifier of C++ member function if present. | |
Parsed form of all attributes that are relevant for type reconstruction.
Some attributes are relevant for all kinds of types (declaration), while others are only meaningful to a specific type (is_virtual)
Definition at line 340 of file DWARFASTParserClang.h.
|
explicit |
Definition at line 268 of file DWARFASTParserClang.cpp.
References abstract_origin, accessibility, DWARFFormValue::AsCString(), DWARFAttributes::AttributeAtIndex(), bit_stride, DWARFFormValue::Boolean(), byte_size, byte_stride, calling_convention, class_language, DWARFAttributes::CompileUnitAtIndex(), containing_type, decl, encoding, exports_symbols, DWARFAttributes::ExtractFormValueAtIndex(), DWARFASTParser::GetAccessTypeFromDWARF(), DWARFBaseDIE::GetAttributes(), DWARFUnit::GetFile(), is_artificial, is_complete_objc_class, is_explicit, is_forward_declaration, is_inline, is_objc_direct_call, is_scoped_enum, is_vector, is_virtual, mangled_name, name, object_pointer, ref_qual, DWARFFormValue::Reference(), lldb_private::Declaration::SetColumn(), lldb_private::ConstString::SetCString(), lldb_private::Declaration::SetFile(), lldb_private::Declaration::SetLine(), signature, DWARFFormValue::Signed(), DWARFAttributes::Size(), specification, storage, type, and DWARFFormValue::Unsigned().
DWARFFormValue ParsedDWARFTypeAttributes::abstract_origin |
Definition at line 359 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb::AccessType ParsedDWARFTypeAttributes::accessibility = lldb::eAccessNone |
Definition at line 343 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseStructureLikeDIE(), and DWARFASTParserClang::ParseSubroutine().
uint32_t ParsedDWARFTypeAttributes::bit_stride = 0 |
Definition at line 367 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
std::optional<uint64_t> ParsedDWARFTypeAttributes::byte_size |
Definition at line 365 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParseStructureLikeDIE(), and DWARFASTParserClang::ParseTypeModifier().
uint32_t ParsedDWARFTypeAttributes::byte_stride = 0 |
Definition at line 368 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
size_t ParsedDWARFTypeAttributes::calling_convention = llvm::dwarf::DW_CC_normal |
Definition at line 366 of file DWARFASTParserClang.h.
Referenced by ConvertDWARFCallingConventionToClang(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
lldb::LanguageType ParsedDWARFTypeAttributes::class_language = lldb::eLanguageTypeUnknown |
Definition at line 364 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
DWARFFormValue ParsedDWARFTypeAttributes::containing_type |
Definition at line 360 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParsePointerToMemberType().
lldb_private::Declaration ParsedDWARFTypeAttributes::decl |
Definition at line 357 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParseStructureLikeDIE(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().
uint32_t ParsedDWARFTypeAttributes::encoding = 0 |
Definition at line 369 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseTypeModifier().
bool ParsedDWARFTypeAttributes::exports_symbols = false |
Definition at line 353 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_artificial = false |
Definition at line 344 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
bool ParsedDWARFTypeAttributes::is_complete_objc_class = false |
Definition at line 345 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_explicit = false |
Definition at line 346 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
bool ParsedDWARFTypeAttributes::is_forward_declaration = false |
Definition at line 347 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_inline = false |
Definition at line 348 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
bool ParsedDWARFTypeAttributes::is_objc_direct_call = false |
Definition at line 352 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
bool ParsedDWARFTypeAttributes::is_scoped_enum = false |
Definition at line 349 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseEnum().
bool ParsedDWARFTypeAttributes::is_vector = false |
Definition at line 350 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
bool ParsedDWARFTypeAttributes::is_virtual = false |
Definition at line 351 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
const char* ParsedDWARFTypeAttributes::mangled_name = nullptr |
Definition at line 355 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::ConstString ParsedDWARFTypeAttributes::name |
Definition at line 356 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParsePointerToMemberType(), DWARFASTParserClang::ParseStructureLikeDIE(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().
DWARFDIE ParsedDWARFTypeAttributes::object_pointer |
Definition at line 358 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
clang::RefQualifierKind ParsedDWARFTypeAttributes::ref_qual |
Indicates ref-qualifier of C++ member function if present.
Is RQ_None otherwise.
Definition at line 370 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
DWARFFormValue ParsedDWARFTypeAttributes::signature |
Definition at line 361 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseTypeFromDWARF().
DWARFFormValue ParsedDWARFTypeAttributes::specification |
Definition at line 362 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
clang::StorageClass ParsedDWARFTypeAttributes::storage = clang::SC_None |
Definition at line 354 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
DWARFFormValue ParsedDWARFTypeAttributes::type |
Definition at line 363 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParsePointerToMemberType(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().