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 538 of file DWARFASTParserClang.h.
|
explicit |
Definition at line 286 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 558 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb::AccessType ParsedDWARFTypeAttributes::accessibility = lldb::eAccessNone |
Definition at line 542 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
std::optional<uint64_t> ParsedDWARFTypeAttributes::alignment |
Definition at line 565 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes().
uint32_t ParsedDWARFTypeAttributes::bit_stride = 0 |
Definition at line 567 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
std::optional<uint64_t> ParsedDWARFTypeAttributes::byte_size |
Definition at line 564 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 568 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
size_t ParsedDWARFTypeAttributes::calling_convention = llvm::dwarf::DW_CC_normal |
Definition at line 566 of file DWARFASTParserClang.h.
Referenced by ConvertDWARFCallingConventionToClang(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
lldb::LanguageType ParsedDWARFTypeAttributes::class_language = lldb::eLanguageTypeUnknown |
Definition at line 563 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::containing_type |
Definition at line 559 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParsePointerToMemberType().
lldb_private::Declaration ParsedDWARFTypeAttributes::decl |
Definition at line 556 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 569 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseTypeModifier().
bool ParsedDWARFTypeAttributes::exports_symbols = false |
Definition at line 552 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_artificial = false |
Definition at line 543 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseObjCMethod().
bool ParsedDWARFTypeAttributes::is_complete_objc_class = false |
Definition at line 544 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_explicit = false |
Definition at line 545 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), and ParsedDWARFTypeAttributes().
bool ParsedDWARFTypeAttributes::is_forward_declaration = false |
Definition at line 546 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::MapDeclDIEToDefDIE(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), and DWARFASTParserClang::ParseStructureLikeDIE().
bool ParsedDWARFTypeAttributes::is_inline = false |
Definition at line 547 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
bool ParsedDWARFTypeAttributes::is_objc_direct_call = false |
Definition at line 551 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseObjCMethod().
bool ParsedDWARFTypeAttributes::is_scoped_enum = false |
Definition at line 548 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseEnum().
bool ParsedDWARFTypeAttributes::is_vector = false |
Definition at line 549 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), and ParsedDWARFTypeAttributes().
bool ParsedDWARFTypeAttributes::is_virtual = false |
Definition at line 550 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), and ParsedDWARFTypeAttributes().
const char* ParsedDWARFTypeAttributes::mangled_name = nullptr |
Definition at line 554 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::ConstString ParsedDWARFTypeAttributes::name |
Definition at line 555 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 557 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 570 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::signature |
Definition at line 560 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseTypeFromDWARF().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::specification |
Definition at line 561 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseCXXMethod(), and ParsedDWARFTypeAttributes().
clang::StorageClass ParsedDWARFTypeAttributes::storage = clang::SC_None |
Definition at line 553 of file DWARFASTParserClang.h.
Referenced by ParsedDWARFTypeAttributes(), and DWARFASTParserClang::ParseSubroutine().
lldb_private::plugin::dwarf::DWARFFormValue ParsedDWARFTypeAttributes::type |
Definition at line 562 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::ParseArrayType(), ParsedDWARFTypeAttributes(), DWARFASTParserClang::ParseEnum(), DWARFASTParserClang::ParsePointerToMemberType(), DWARFASTParserClang::ParseSubroutine(), and DWARFASTParserClang::ParseTypeModifier().