35 return llvm::dwarf::DW_TAG_null;
39 const char *fail_value)
const {
47 uint64_t fail_value)
const {
54std::optional<uint64_t>
62 uint64_t fail_value)
const {
70 const std::optional<DIERef> &ref = this->
GetDIERef();
87 return dwarf->GetObjectFile()->GetModule();
123 return !(lhs == rhs);
Identifies a DWARF debug info entry within a given Module.
DWARFAttributes GetAttributes(Recurse recurse=Recurse::yes) const
std::optional< uint64_t > GetAttributeValueAsOptionalUnsigned(const dw_attr_t attr) const
const DWARFDataExtractor & GetData() const
const char * GetAttributeValueAsString(const dw_attr_t attr, const char *fail_value) const
std::optional< DIERef > GetDIERef() const
lldb::ModuleSP GetModule() const
SymbolFileDWARF * GetDWARF() const
DWARFDebugInfoEntry * m_die
DWARFDebugInfoEntry * GetDIE() const
DWARFUnit * GetCU() const
const char * GetName() const
uint64_t GetAttributeValueAsUnsigned(const dw_attr_t attr, uint64_t fail_value) const
dw_offset_t GetOffset() const
uint64_t GetAttributeValueAsAddress(const dw_attr_t attr, uint64_t fail_value) const
lldb::user_id_t GetID() const
dw_offset_t GetOffset() const
DWARFAttributes GetAttributes(DWARFUnit *cu, Recurse recurse=Recurse::yes) const
std::optional< uint64_t > GetAttributeValueAsOptionalUnsigned(const DWARFUnit *cu, const dw_attr_t attr, bool check_elaborating_dies=false) const
const char * GetAttributeValueAsString(const DWARFUnit *cu, const dw_attr_t attr, const char *fail_value, bool check_elaborating_dies=false) const
uint64_t GetAttributeValueAsAddress(const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value, bool check_elaborating_dies=false) const
uint64_t GetAttributeValueAsUnsigned(const DWARFUnit *cu, const dw_attr_t attr, uint64_t fail_value, bool check_elaborating_dies=false) const
const char * GetName(const DWARFUnit *cu) const
SymbolFileDWARF & GetSymbolFileDWARF() const
DIERef::Section GetDebugSection() const
const DWARFDataExtractor & GetData() const
Get the data that contains the DIE information for this unit.
std::optional< uint64_t > GetFileIndex() const
#define DW_INVALID_OFFSET
llvm::dwarf::Tag dw_tag_t
llvm::dwarf::Attribute dw_attr_t
A class that represents a running process on the host machine.
bool operator!=(const Address &lhs, const Address &rhs)
bool operator==(const Address &lhs, const Address &rhs)
std::shared_ptr< lldb_private::Module > ModuleSP