LLDB mainline
lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo Struct Reference

Classes

struct  LineTableEntry

Public Member Functions

 StandaloneDWARFLineTableInfo (SymbolFileDWARF &symfile)
 ~StandaloneDWARFLineTableInfo ()
bool HasLineTables ()
uint32_t CalculateNumCompileUnits () const
CompUnitSP ParseCompileUnitAtIndex (uint32_t cu_idx)
bool ParseLineTable (CompileUnit &comp_unit)
uint32_t ResolveSymbolContext (const Address &so_addr, SymbolContextItem resolve_scope, SymbolContext &sc)
const llvm::DWARFDebugLine::LineTable * GetLineTable (uint32_t cu_idx)
const llvm::DWARFDebugLine::Prologue * GetPrologue (uint32_t cu_idx)
const DWARFDebugAranges & GetAranges (lldb::addr_t first_code_address)

Public Attributes

std::vector< LineTableEntry > line_tables
llvm::once_flag aranges_once_flag
DWARFDebugAranges aranges

Private Attributes

SymbolFileDWARF & m_symfile

Detailed Description

Definition at line 312 of file SymbolFileDWARF.cpp.

Constructor & Destructor Documentation

◆ StandaloneDWARFLineTableInfo()

StandaloneDWARFLineTableInfo::StandaloneDWARFLineTableInfo ( SymbolFileDWARF & symfile)
explicit

◆ ~StandaloneDWARFLineTableInfo()

StandaloneDWARFLineTableInfo::~StandaloneDWARFLineTableInfo ( )

Definition at line 425 of file SymbolFileDWARF.cpp.

References line_tables.

Member Function Documentation

◆ CalculateNumCompileUnits()

uint32_t StandaloneDWARFLineTableInfo::CalculateNumCompileUnits ( ) const

Definition at line 469 of file SymbolFileDWARF.cpp.

References line_tables.

◆ GetAranges()

const DWARFDebugAranges & StandaloneDWARFLineTableInfo::GetAranges ( lldb::addr_t first_code_address)

Definition at line 453 of file SymbolFileDWARF.cpp.

References aranges, aranges_once_flag, GetLineTable(), and line_tables.

Referenced by ResolveSymbolContext().

◆ GetLineTable()

const llvm::DWARFDebugLine::LineTable * StandaloneDWARFLineTableInfo::GetLineTable ( uint32_t cu_idx)

◆ GetPrologue()

const llvm::DWARFDebugLine::Prologue * StandaloneDWARFLineTableInfo::GetPrologue ( uint32_t cu_idx)

◆ HasLineTables()

◆ ParseCompileUnitAtIndex()

CompUnitSP StandaloneDWARFLineTableInfo::ParseCompileUnitAtIndex ( uint32_t cu_idx)

◆ ParseLineTable()

bool StandaloneDWARFLineTableInfo::ParseLineTable ( CompileUnit & comp_unit)

◆ ResolveSymbolContext()

uint32_t StandaloneDWARFLineTableInfo::ResolveSymbolContext ( const Address & so_addr,
SymbolContextItem resolve_scope,
SymbolContext & sc )

Member Data Documentation

◆ aranges

DWARFDebugAranges lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::aranges

Definition at line 328 of file SymbolFileDWARF.cpp.

Referenced by GetAranges(), and ResolveSymbolContext().

◆ aranges_once_flag

llvm::once_flag lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::aranges_once_flag

Definition at line 327 of file SymbolFileDWARF.cpp.

Referenced by GetAranges().

◆ line_tables

std::vector<LineTableEntry> lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::line_tables

◆ m_symfile

SymbolFileDWARF& lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::m_symfile
private

The documentation for this struct was generated from the following file: