LLDB  mainline
Classes | Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | List of all members
DWARFDebugLine Class Reference

#include <DWARFDebugLine.h>

Collaboration diagram for DWARFDebugLine:
Collaboration graph
[legend]

Classes

struct  FileNameEntry
 
struct  LineTable
 
struct  Prologue
 
struct  Row
 
struct  State
 

Public Member Functions

 DWARFDebugLine ()
 
void Parse (const lldb_private::DWARFDataExtractor &debug_line_data)
 
void ParseIfNeeded (const lldb_private::DWARFDataExtractor &debug_line_data)
 
LineTable::shared_ptr GetLineTable (const dw_offset_t offset) const
 

Static Public Member Functions

static bool ParseSupportFiles (const lldb::ModuleSP &module_sp, const lldb_private::DWARFDataExtractor &debug_line_data, dw_offset_t stmt_list, lldb_private::FileSpecList &support_files, DWARFUnit *dwarf_cu)
 
static bool ParsePrologue (const lldb_private::DWARFDataExtractor &debug_line_data, lldb::offset_t *offset_ptr, Prologue *prologue, DWARFUnit *dwarf_cu=nullptr)
 
static bool ParseStatementTable (const lldb_private::DWARFDataExtractor &debug_line_data, lldb::offset_t *offset_ptr, State::Callback callback, void *userData, DWARFUnit *dwarf_cu)
 
static bool ParseStatementTable (const lldb_private::DWARFDataExtractor &debug_line_data, lldb::offset_t *offset_ptr, LineTable *line_table, DWARFUnit *dwarf_cu)
 
static void Parse (const lldb_private::DWARFDataExtractor &debug_line_data, DWARFDebugLine::State::Callback callback, void *userData)
 

Protected Types

typedef std::map< dw_offset_t, LineTable::shared_ptrLineTableMap
 
typedef LineTableMap::iterator LineTableIter
 
typedef LineTableMap::const_iterator LineTableConstIter
 

Protected Attributes

LineTableMap m_lineTableMap
 

Detailed Description

Definition at line 28 of file DWARFDebugLine.h.

Member Typedef Documentation

◆ LineTableConstIter

typedef LineTableMap::const_iterator DWARFDebugLine::LineTableConstIter
protected

Definition at line 221 of file DWARFDebugLine.h.

◆ LineTableIter

typedef LineTableMap::iterator DWARFDebugLine::LineTableIter
protected

Definition at line 220 of file DWARFDebugLine.h.

◆ LineTableMap

Definition at line 219 of file DWARFDebugLine.h.

Constructor & Destructor Documentation

◆ DWARFDebugLine()

DWARFDebugLine::DWARFDebugLine ( )
inline

Definition at line 212 of file DWARFDebugLine.h.

References GetLineTable(), Parse(), and ParseIfNeeded().

Member Function Documentation

◆ GetLineTable()

DWARFDebugLine::LineTable::shared_ptr DWARFDebugLine::GetLineTable ( const dw_offset_t  offset) const

Definition at line 64 of file DWARFDebugLine.cpp.

Referenced by DWARFDebugLine().

◆ Parse() [1/2]

void DWARFDebugLine::Parse ( const lldb_private::DWARFDataExtractor debug_line_data,
DWARFDebugLine::State::Callback  callback,
void *  userData 
)
static

◆ Parse() [2/2]

void DWARFDebugLine::Parse ( const lldb_private::DWARFDataExtractor debug_line_data)

Definition at line 34 of file DWARFDebugLine.cpp.

References lldb_private::DataExtractor::ValidOffset().

◆ ParseIfNeeded()

void DWARFDebugLine::ParseIfNeeded ( const lldb_private::DWARFDataExtractor debug_line_data)

Definition at line 57 of file DWARFDebugLine.cpp.

References lldb_private::postfix::Parse().

Referenced by DWARFDebugLine().

◆ ParsePrologue()

bool DWARFDebugLine::ParsePrologue ( const lldb_private::DWARFDataExtractor debug_line_data,
lldb::offset_t offset_ptr,
Prologue prologue,
DWARFUnit dwarf_cu = nullptr 
)
static

◆ ParseStatementTable() [1/2]

bool DWARFDebugLine::ParseStatementTable ( const lldb_private::DWARFDataExtractor debug_line_data,
lldb::offset_t offset_ptr,
State::Callback  callback,
void *  userData,
DWARFUnit dwarf_cu 
)
static

◆ ParseStatementTable() [2/2]

bool DWARFDebugLine::ParseStatementTable ( const lldb_private::DWARFDataExtractor debug_line_data,
lldb::offset_t offset_ptr,
LineTable line_table,
DWARFUnit dwarf_cu 
)
static

Definition at line 566 of file DWARFDebugLine.cpp.

References ParseStatementTableCallback().

◆ ParseSupportFiles()

bool DWARFDebugLine::ParseSupportFiles ( const lldb::ModuleSP &  module_sp,
const lldb_private::DWARFDataExtractor debug_line_data,
dw_offset_t  stmt_list,
lldb_private::FileSpecList &  support_files,
DWARFUnit dwarf_cu 
)
static

Member Data Documentation

◆ m_lineTableMap

LineTableMap DWARFDebugLine::m_lineTableMap
protected

Definition at line 223 of file DWARFDebugLine.h.


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