LLDB mainline
|
Parsed form of all attributes that are relevant for parsing type members. More...
Public Member Functions | |
MemberAttributes (const lldb_private::plugin::dwarf::DWARFDIE &die, const lldb_private::plugin::dwarf::DWARFDIE &parent_die, lldb::ModuleSP module_sp) | |
Public Attributes | |
const char * | name = nullptr |
int64_t | bit_offset = 0 |
Indicates how many bits into the word (according to the host endianness) the low-order bit of the field starts. | |
size_t | bit_size = 0 |
Indicates the size of the field in bits. | |
uint64_t | data_bit_offset = UINT64_MAX |
lldb::AccessType | accessibility = lldb::eAccessNone |
std::optional< uint64_t > | byte_size |
std::optional< lldb_private::plugin::dwarf::DWARFFormValue > | const_value_form |
lldb_private::plugin::dwarf::DWARFFormValue | encoding_form |
uint32_t | member_byte_offset = UINT32_MAX |
Indicates the byte offset of the word from the base address of the structure. | |
bool | is_artificial = false |
bool | is_declaration = false |
Parsed form of all attributes that are relevant for parsing type members.
Definition at line 282 of file DWARFASTParserClang.h.
|
explicit |
Definition at line 2545 of file DWARFASTParserClang.cpp.
References accessibility, lldb_private::plugin::dwarf::DWARFFormValue::AsCString(), lldb_private::plugin::dwarf::DWARFAttributes::AttributeAtIndex(), bit_offset, bit_size, lldb_private::plugin::dwarf::DWARFFormValue::Boolean(), byte_size, const_value_form, data_bit_offset, encoding_form, ExtractDataMemberLocation(), lldb_private::plugin::dwarf::DWARFAttributes::ExtractFormValueAtIndex(), lldb_private::plugin::dwarf::DWARFASTParser::GetAccessTypeFromDWARF(), lldb_private::plugin::dwarf::DWARFBaseDIE::GetAttributes(), is_artificial, is_declaration, member_byte_offset, name, lldb_private::plugin::dwarf::DWARFFormValue::Signed(), lldb_private::plugin::dwarf::DWARFAttributes::Size(), and lldb_private::plugin::dwarf::DWARFFormValue::Unsigned().
lldb::AccessType DWARFASTParserClang::MemberAttributes::accessibility = lldb::eAccessNone |
Definition at line 294 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::CreateStaticMemberVariable(), MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
int64_t DWARFASTParserClang::MemberAttributes::bit_offset = 0 |
Indicates how many bits into the word (according to the host endianness) the low-order bit of the field starts.
Can be negative.
Definition at line 290 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
size_t DWARFASTParserClang::MemberAttributes::bit_size = 0 |
Indicates the size of the field in bits.
Definition at line 292 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
std::optional<uint64_t> DWARFASTParserClang::MemberAttributes::byte_size |
Definition at line 295 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
std::optional<lldb_private::plugin::dwarf::DWARFFormValue> DWARFASTParserClang::MemberAttributes::const_value_form |
Definition at line 296 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::CreateStaticMemberVariable(), and MemberAttributes().
uint64_t DWARFASTParserClang::MemberAttributes::data_bit_offset = UINT64_MAX |
Definition at line 293 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
lldb_private::plugin::dwarf::DWARFFormValue DWARFASTParserClang::MemberAttributes::encoding_form |
Definition at line 297 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::CreateStaticMemberVariable(), MemberAttributes(), DWARFASTParserClang::ParseObjCProperty(), and DWARFASTParserClang::ParseSingleMember().
bool DWARFASTParserClang::MemberAttributes::is_artificial = false |
Definition at line 301 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
bool DWARFASTParserClang::MemberAttributes::is_declaration = false |
Definition at line 302 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
uint32_t DWARFASTParserClang::MemberAttributes::member_byte_offset = UINT32_MAX |
Indicates the byte offset of the word from the base address of the structure.
Definition at line 300 of file DWARFASTParserClang.h.
Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().
const char* DWARFASTParserClang::MemberAttributes::name = nullptr |
Definition at line 287 of file DWARFASTParserClang.h.
Referenced by DWARFASTParserClang::CreateStaticMemberVariable(), MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().