|
LLDB mainline
|
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 |
Definition at line 312 of file SymbolFileDWARF.cpp.
|
explicit |
Definition at line 374 of file SymbolFileDWARF.cpp.
References lldb_private::DebugInfo, error(), lldb_private::GetLog(), line_tables, LLDB_LOG, LLDB_LOG_ERROR, m_symfile, and lldb_private::plugin::dwarf::SymbolFileDWARF::SupportedVersion().
| StandaloneDWARFLineTableInfo::~StandaloneDWARFLineTableInfo | ( | ) |
Definition at line 425 of file SymbolFileDWARF.cpp.
References line_tables.
| uint32_t StandaloneDWARFLineTableInfo::CalculateNumCompileUnits | ( | ) | const |
Definition at line 469 of file SymbolFileDWARF.cpp.
References line_tables.
| 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().
| const llvm::DWARFDebugLine::LineTable * StandaloneDWARFLineTableInfo::GetLineTable | ( | uint32_t | cu_idx | ) |
Definition at line 445 of file SymbolFileDWARF.cpp.
References lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::LineTableEntry::line_table, and line_tables.
Referenced by GetAranges(), and ParseLineTable().
| const llvm::DWARFDebugLine::Prologue * StandaloneDWARFLineTableInfo::GetPrologue | ( | uint32_t | cu_idx | ) |
Definition at line 437 of file SymbolFileDWARF.cpp.
References lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::LineTableEntry::line_table, and line_tables.
Referenced by ParseCompileUnitAtIndex().
| bool StandaloneDWARFLineTableInfo::HasLineTables | ( | ) |
Definition at line 430 of file SymbolFileDWARF.cpp.
References lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::LineTableEntry::line_table, and line_tables.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::CalculateAbilities().
| CompUnitSP StandaloneDWARFLineTableInfo::ParseCompileUnitAtIndex | ( | uint32_t | cu_idx | ) |
Definition at line 474 of file SymbolFileDWARF.cpp.
References lldb::eLanguageTypeUnknown, lldb_private::eLazyBoolNo, GetPrologue(), lldb_private::SupportFileList::GetSupportFileAtIndex(), m_symfile, and ParseSupportFilesFromPrologue().
| bool StandaloneDWARFLineTableInfo::ParseLineTable | ( | CompileUnit & | comp_unit | ) |
Definition at line 501 of file SymbolFileDWARF.cpp.
References ConvertLineTable(), lldb_private::UserID::GetID(), GetLineTable(), LLDB_INVALID_ADDRESS, m_symfile, and lldb_private::CompileUnit::SetLineTable().
| uint32_t StandaloneDWARFLineTableInfo::ResolveSymbolContext | ( | const Address & | so_addr, |
| SymbolContextItem | resolve_scope, | ||
| SymbolContext & | sc ) |
Definition at line 514 of file SymbolFileDWARF.cpp.
References aranges, lldb_private::SymbolContext::comp_unit, DW_INVALID_OFFSET, GetAranges(), lldb_private::Address::GetFileAddress(), lldb_private::CompileUnit::GetLineTable(), lldb_private::SymbolContext::line_entry, LLDB_INVALID_ADDRESS, and m_symfile.
| DWARFDebugAranges lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::aranges |
Definition at line 328 of file SymbolFileDWARF.cpp.
Referenced by GetAranges(), and ResolveSymbolContext().
| llvm::once_flag lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::aranges_once_flag |
Definition at line 327 of file SymbolFileDWARF.cpp.
Referenced by GetAranges().
| std::vector<LineTableEntry> lldb_private::plugin::dwarf::StandaloneDWARFLineTableInfo::line_tables |
Definition at line 326 of file SymbolFileDWARF.cpp.
Referenced by CalculateNumCompileUnits(), GetAranges(), GetLineTable(), GetPrologue(), HasLineTables(), StandaloneDWARFLineTableInfo(), and ~StandaloneDWARFLineTableInfo().
|
private |
Definition at line 344 of file SymbolFileDWARF.cpp.
Referenced by ParseCompileUnitAtIndex(), ParseLineTable(), ResolveSymbolContext(), and StandaloneDWARFLineTableInfo().