LLDB mainline
|
Parsed form of all attributes that are relevant for type reconstruction. More...
#include <DWARFASTParserClang.h>
Public Member Functions | |
ParsedDWARFTypeAttributes (const lldb_private::plugin::dwarf::DWARFDIE &die) | |
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 478 of file DWARFASTParserClang.h.
|
explicit |
Definition at line 283 of file DWARFASTParserClang.cpp.
References abstract_origin, accessibility, alignment, lldb_private::plugin::dwarf::DWARFFormValue::AsCString(), lldb_private::plugin::dwarf::DWARFAttributes::AttributeAtIndex(), bit_stride, lldb_private::plugin::dwarf::DWARFFormValue::Boolean(), byte_size, byte_stride, calling_convention, class_language, lldb_private::plugin::dwarf::DWARFAttributes::CompileUnitAtIndex(), containing_type, decl, encoding, exports_symbols, lldb_private::plugin::dwarf::DWARFAttributes::ExtractFormValueAtIndex(), lldb_private::plugin::dwarf::DWARFASTParser::GetAccessTypeFromDWARF(), lldb_private::plugin::dwarf::DWARFBaseDIE::GetAttributes(), lldb_private::plugin::dwarf::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, lldb_private::plugin::dwarf::DWARFFormValue::Reference(), lldb_private::Declaration::SetColumn(), lldb_private::ConstString::SetCString(), lldb_private::Declaration::SetFile(), lldb_private::Declaration::SetLine(), signature, lldb_private::plugin::dwarf::DWARFFormValue::Signed(), lldb_private::plugin::dwarf::DWARFAttributes::Size(), specification, storage, type, and lldb_private::plugin::dwarf::DWARFFormValue::Unsigned().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::abstract_origin |
Definition at line 498 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb::AccessType ParsedDWARFTypeAttributes::accessibility = lldb::eAccessNone |
Definition at line 482 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
std::optional<uint64_t> ParsedDWARFTypeAttributes::alignment |
Definition at line 505 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes().
uint32_t ParsedDWARFTypeAttributes::bit_stride = 0 |
Definition at line 507 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
std::optional<uint64_t> ParsedDWARFTypeAttributes::byte_size |
Definition at line 504 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::MapDeclDIEToDefDIE(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParseStructureLikeDIE(), and DWARFASTParserClang::ParseTypeModifier().
uint32_t ParsedDWARFTypeAttributes::byte_stride = 0 |
Definition at line 508 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
size_t ParsedDWARFTypeAttributes::calling_convention = llvm::dwarf::DW_CC_normal |
Definition at line 506 of file DWARFASTParserClang.h.
Referenced by ConvertDWARFCallingConventionToClang(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
lldb::LanguageType ParsedDWARFTypeAttributes::class_language = lldb::eLanguageTypeUnknown |
Definition at line 503 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::containing_type |
Definition at line 499 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParsePointerToMemberType().
lldb_private::Declaration ParsedDWARFTypeAttributes::decl |
Definition at line 496 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::MapDeclDIEToDefDIE(), DWARFASTParserClang::ParseArrayType(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParseStructureLikeDIE(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().
uint32_t ParsedDWARFTypeAttributes::encoding = 0 |
Definition at line 509 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseTypeModifier().
bool ParsedDWARFTypeAttributes::exports_symbols = false |
Definition at line 492 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_artificial = false |
Definition at line 483 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseObjCMethod().
bool ParsedDWARFTypeAttributes::is_complete_objc_class = false |
Definition at line 484 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_explicit = false |
Definition at line 485 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), and ParsedDWARFTypeAttributes().
bool ParsedDWARFTypeAttributes::is_forward_declaration = false |
Definition at line 486 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::MapDeclDIEToDefDIE(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_inline = false |
Definition at line 487 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
bool ParsedDWARFTypeAttributes::is_objc_direct_call = false |
Definition at line 491 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseObjCMethod().
bool ParsedDWARFTypeAttributes::is_scoped_enum = false |
Definition at line 488 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseEnum().
bool ParsedDWARFTypeAttributes::is_vector = false |
Definition at line 489 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
bool ParsedDWARFTypeAttributes::is_virtual = false |
Definition at line 490 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), and ParsedDWARFTypeAttributes().
const char* ParsedDWARFTypeAttributes::mangled_name = nullptr |
Definition at line 494 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::ConstString ParsedDWARFTypeAttributes::name |
Definition at line 495 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::MapDeclDIEToDefDIE(), DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParseObjCMethod(), DWARFASTParserClang::ParsePointerToMemberType(), DWARFASTParserClang::ParseStructureLikeDIE(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().
lldb_private::plugin::dwarf::DWARFDIE ParsedDWARFTypeAttributes::object_pointer |
Definition at line 497 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), 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 510 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::signature |
Definition at line 500 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseTypeFromDWARF().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::specification |
Definition at line 501 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), and ParsedDWARFTypeAttributes().
clang::StorageClass ParsedDWARFTypeAttributes::storage = clang::SC_None |
Definition at line 493 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::type |
Definition at line 502 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParsePointerToMemberType(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().