LLDB mainline
|
#include <DWARFDebugAbbrev.h>
Public Member Functions | |
DWARFAbbreviationDeclarationSet () | |
DWARFAbbreviationDeclarationSet (dw_offset_t offset, uint32_t idx_offset) | |
void | Clear () |
dw_offset_t | GetOffset () const |
llvm::Error | extract (const lldb_private::DWARFDataExtractor &data, lldb::offset_t *offset_ptr) |
Extract all abbrev decls in a set. | |
void | GetUnsupportedForms (std::set< dw_form_t > &invalid_forms) const |
const DWARFAbbreviationDeclaration * | GetAbbreviationDeclaration (uint32_t abbrCode) const |
uint32_t | GetIndexOffset () const |
Unit test accessor functions. | |
Private Attributes | |
dw_offset_t | m_offset |
uint32_t | m_idx_offset = 0 |
std::vector< DWARFAbbreviationDeclaration > | m_decls |
Definition at line 28 of file DWARFDebugAbbrev.h.
|
inline |
Definition at line 30 of file DWARFDebugAbbrev.h.
|
inline |
Definition at line 32 of file DWARFDebugAbbrev.h.
void DWARFAbbreviationDeclarationSet::Clear | ( | ) |
Definition at line 18 of file DWARFDebugAbbrev.cpp.
References m_decls, and m_idx_offset.
Referenced by extract().
llvm::Error DWARFAbbreviationDeclarationSet::extract | ( | const lldb_private::DWARFDataExtractor & | data, |
lldb::offset_t * | offset_ptr | ||
) |
Extract all abbrev decls in a set.
Returns llvm::ErrorSuccess() on success, and an appropriate llvm::Error object otherwise.
Definition at line 25 of file DWARFDebugAbbrev.cpp.
References Clear(), lldb_private::DWARFDataExtractor::GetAsLLVM(), m_decls, m_idx_offset, m_offset, and UINT32_MAX.
Referenced by DWARFDebugAbbrev::parse().
const DWARFAbbreviationDeclaration * DWARFAbbreviationDeclarationSet::GetAbbreviationDeclaration | ( | uint32_t | abbrCode | ) | const |
Definition at line 53 of file DWARFDebugAbbrev.cpp.
References m_decls, m_idx_offset, and UINT32_MAX.
Referenced by DWARFDebugInfoEntry::GetAbbreviationDeclarationPtr().
|
inline |
Unit test accessor functions.
Definition at line 50 of file DWARFDebugAbbrev.h.
References m_idx_offset.
|
inline |
Definition at line 36 of file DWARFDebugAbbrev.h.
References m_offset.
Referenced by DWARFUnit::GetAbbrevOffset().
void DWARFAbbreviationDeclarationSet::GetUnsupportedForms | ( | std::set< dw_form_t > & | invalid_forms | ) | const |
Definition at line 68 of file DWARFDebugAbbrev.cpp.
References DWARFFormValue::FormIsSupported(), and m_decls.
|
private |
Definition at line 55 of file DWARFDebugAbbrev.h.
Referenced by Clear(), extract(), GetAbbreviationDeclaration(), and GetUnsupportedForms().
|
private |
Definition at line 54 of file DWARFDebugAbbrev.h.
Referenced by Clear(), extract(), GetAbbreviationDeclaration(), and GetIndexOffset().
|
private |
Definition at line 53 of file DWARFDebugAbbrev.h.
Referenced by extract(), and GetOffset().