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

#include <DWARFDebugAbbrev.h>

Collaboration diagram for DWARFDebugAbbrev:
Collaboration graph
[legend]

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. More...
 
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 61 of file DWARFDebugAbbrev.h.

Constructor & Destructor Documentation

◆ DWARFDebugAbbrev()

DWARFDebugAbbrev::DWARFDebugAbbrev ( )

Definition at line 103 of file DWARFDebugAbbrev.cpp.

Member Function Documentation

◆ GetAbbreviationDeclarationSet()

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

Definition at line 126 of file DWARFDebugAbbrev.cpp.

References m_abbrevCollMap, and m_prev_abbr_offset_pos.

Referenced by DWARFCompileUnit::extract().

◆ GetUnsupportedForms()

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

Definition at line 144 of file DWARFDebugAbbrev.cpp.

References m_abbrevCollMap.

Referenced by SymbolFileDWARF::CalculateAbilities().

◆ 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 107 of file DWARFDebugAbbrev.cpp.

References DWARFAbbreviationDeclarationSet::extract(), m_abbrevCollMap, m_prev_abbr_offset_pos, and lldb_private::DataExtractor::ValidOffset().

Member Data Documentation

◆ m_abbrevCollMap

DWARFAbbreviationDeclarationCollMap DWARFDebugAbbrev::m_abbrevCollMap
protected

Definition at line 73 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 74 of file DWARFDebugAbbrev.h.

Referenced by GetAbbreviationDeclarationSet(), and parse().


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