LLDB mainline
Public Member Functions | Public Attributes | List of all members
DWARFASTParserClang::MemberAttributes Struct Reference

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::DWARFFormValueconst_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
 

Detailed Description

Parsed form of all attributes that are relevant for parsing type members.

Definition at line 277 of file DWARFASTParserClang.h.

Constructor & Destructor Documentation

◆ MemberAttributes()

DWARFASTParserClang::MemberAttributes::MemberAttributes ( const lldb_private::plugin::dwarf::DWARFDIE die,
const lldb_private::plugin::dwarf::DWARFDIE parent_die,
lldb::ModuleSP  module_sp 
)
explicit

Member Data Documentation

◆ accessibility

lldb::AccessType DWARFASTParserClang::MemberAttributes::accessibility = lldb::eAccessNone

◆ bit_offset

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 285 of file DWARFASTParserClang.h.

Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().

◆ bit_size

size_t DWARFASTParserClang::MemberAttributes::bit_size = 0

Indicates the size of the field in bits.

Definition at line 287 of file DWARFASTParserClang.h.

Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().

◆ byte_size

std::optional<uint64_t> DWARFASTParserClang::MemberAttributes::byte_size

◆ const_value_form

std::optional<lldb_private::plugin::dwarf::DWARFFormValue> DWARFASTParserClang::MemberAttributes::const_value_form

◆ data_bit_offset

uint64_t DWARFASTParserClang::MemberAttributes::data_bit_offset = UINT64_MAX

◆ encoding_form

lldb_private::plugin::dwarf::DWARFFormValue DWARFASTParserClang::MemberAttributes::encoding_form

◆ is_artificial

bool DWARFASTParserClang::MemberAttributes::is_artificial = false

◆ is_declaration

bool DWARFASTParserClang::MemberAttributes::is_declaration = false

◆ member_byte_offset

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 295 of file DWARFASTParserClang.h.

Referenced by MemberAttributes(), and DWARFASTParserClang::ParseSingleMember().

◆ name

const char* DWARFASTParserClang::MemberAttributes::name = nullptr

The documentation for this struct was generated from the following files: