LLDB mainline
Public Member Functions | Protected Attributes | List of all members
DWARFDebugAbbrev Class Reference

#include <DWARFDebugAbbrev.h>

Public Member Functions

 DWARFDebugAbbrev ()
 
const DWARFAbbreviationDeclarationSetGetAbbreviationDeclarationSet (dw_offset_t cu_abbr_offset) const
 
llvm::Error parse (const lldb_private::DWARFDataExtractor &data)
 Extract all abbreviations for a particular compile unit.
 
void GetUnsupportedForms (std::set< dw_form_t > &invalid_forms) const
 

Protected Attributes

DWARFAbbreviationDeclarationCollMap m_abbrevCollMap
 
DWARFAbbreviationDeclarationCollMapConstIter m_prev_abbr_offset_pos
 

Detailed Description

Definition at line 30 of file DWARFDebugAbbrev.h.

Constructor & Destructor Documentation

◆ DWARFDebugAbbrev()

DWARFDebugAbbrev::DWARFDebugAbbrev ( )

Definition at line 18 of file DWARFDebugAbbrev.cpp.

Member Function Documentation

◆ GetAbbreviationDeclarationSet()

const DWARFAbbreviationDeclarationSet * DWARFDebugAbbrev::GetAbbreviationDeclarationSet ( dw_offset_t  cu_abbr_offset) const

Definition at line 42 of file DWARFDebugAbbrev.cpp.

References m_abbrevCollMap, and m_prev_abbr_offset_pos.

Referenced by DWARFUnit::extract().

◆ GetUnsupportedForms()

void DWARFDebugAbbrev::GetUnsupportedForms ( std::set< dw_form_t > &  invalid_forms) const

◆ parse()

llvm::Error DWARFDebugAbbrev::parse ( const lldb_private::DWARFDataExtractor data)

Extract all abbreviations for a particular compile unit.

Returns llvm::ErrorSuccess() on success, and an appropriate llvm::Error object otherwise.

Definition at line 22 of file DWARFDebugAbbrev.cpp.

References error(), lldb_private::DWARFDataExtractor::GetAsLLVM(), m_abbrevCollMap, and m_prev_abbr_offset_pos.

Member Data Documentation

◆ m_abbrevCollMap

DWARFAbbreviationDeclarationCollMap DWARFDebugAbbrev::m_abbrevCollMap
protected

Definition at line 42 of file DWARFDebugAbbrev.h.

Referenced by GetAbbreviationDeclarationSet(), GetUnsupportedForms(), and parse().

◆ m_prev_abbr_offset_pos

DWARFAbbreviationDeclarationCollMapConstIter DWARFDebugAbbrev::m_prev_abbr_offset_pos
mutableprotected

Definition at line 43 of file DWARFDebugAbbrev.h.

Referenced by GetAbbreviationDeclarationSet(), and parse().


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