LLDB mainline
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::plugin::dwarf::DWARFContext Class Reference

#include <DWARFContext.h>

Classes

struct  SectionData
 

Public Member Functions

 DWARFContext (SectionList *main_section_list, SectionList *dwo_section_list)
 
const DWARFDataExtractorgetOrLoadAbbrevData ()
 
const DWARFDataExtractorgetOrLoadAddrData ()
 
const DWARFDataExtractorgetOrLoadArangesData ()
 
const DWARFDataExtractorgetOrLoadDebugInfoData ()
 
const DWARFDataExtractorgetOrLoadLineData ()
 
const DWARFDataExtractorgetOrLoadLineStrData ()
 
const DWARFDataExtractorgetOrLoadLocData ()
 
const DWARFDataExtractorgetOrLoadLocListsData ()
 
const DWARFDataExtractorgetOrLoadMacroData ()
 
const DWARFDataExtractorgetOrLoadRangesData ()
 
const DWARFDataExtractorgetOrLoadRngListsData ()
 
const DWARFDataExtractorgetOrLoadStrData ()
 
const DWARFDataExtractorgetOrLoadStrOffsetsData ()
 
const DWARFDataExtractorgetOrLoadDebugTypesData ()
 
bool isDwo ()
 
llvm::DWARFContext & GetAsLLVM ()
 

Private Member Functions

const DWARFDataExtractorLoadOrGetSection (std::optional< lldb::SectionType > main_section_type, std::optional< lldb::SectionType > dwo_section_type, SectionData &data)
 
const DWARFDataExtractorgetOrLoadCuIndexData ()
 
const DWARFDataExtractorgetOrLoadTuIndexData ()
 

Private Attributes

SectionListm_main_section_list
 
SectionListm_dwo_section_list
 
std::unique_ptr< llvm::DWARFContext > m_llvm_context
 
SectionData m_data_debug_abbrev
 
SectionData m_data_debug_addr
 
SectionData m_data_debug_aranges
 
SectionData m_data_debug_cu_index
 
SectionData m_data_debug_info
 
SectionData m_data_debug_line
 
SectionData m_data_debug_line_str
 
SectionData m_data_debug_loc
 
SectionData m_data_debug_loclists
 
SectionData m_data_debug_macro
 
SectionData m_data_debug_ranges
 
SectionData m_data_debug_rnglists
 
SectionData m_data_debug_str
 
SectionData m_data_debug_str_offsets
 
SectionData m_data_debug_tu_index
 
SectionData m_data_debug_types
 

Detailed Description

Definition at line 21 of file DWARFContext.h.

Constructor & Destructor Documentation

◆ DWARFContext()

lldb_private::plugin::dwarf::DWARFContext::DWARFContext ( SectionList main_section_list,
SectionList dwo_section_list 
)
inlineexplicit

Definition at line 58 of file DWARFContext.h.

Member Function Documentation

◆ GetAsLLVM()

llvm::DWARFContext & DWARFContext::GetAsLLVM ( )

◆ getOrLoadAbbrevData()

const DWARFDataExtractor & DWARFContext::getOrLoadAbbrevData ( )

◆ getOrLoadAddrData()

const DWARFDataExtractor & DWARFContext::getOrLoadAddrData ( )

◆ getOrLoadArangesData()

const DWARFDataExtractor & DWARFContext::getOrLoadArangesData ( )

◆ getOrLoadCuIndexData()

const DWARFDataExtractor & DWARFContext::getOrLoadCuIndexData ( )
private

◆ getOrLoadDebugInfoData()

const DWARFDataExtractor & DWARFContext::getOrLoadDebugInfoData ( )

◆ getOrLoadDebugTypesData()

const DWARFDataExtractor & DWARFContext::getOrLoadDebugTypesData ( )

◆ getOrLoadLineData()

const DWARFDataExtractor & DWARFContext::getOrLoadLineData ( )

◆ getOrLoadLineStrData()

const DWARFDataExtractor & DWARFContext::getOrLoadLineStrData ( )

◆ getOrLoadLocData()

const DWARFDataExtractor & DWARFContext::getOrLoadLocData ( )

◆ getOrLoadLocListsData()

const DWARFDataExtractor & DWARFContext::getOrLoadLocListsData ( )

◆ getOrLoadMacroData()

const DWARFDataExtractor & DWARFContext::getOrLoadMacroData ( )

◆ getOrLoadRangesData()

const DWARFDataExtractor & DWARFContext::getOrLoadRangesData ( )

◆ getOrLoadRngListsData()

const DWARFDataExtractor & DWARFContext::getOrLoadRngListsData ( )

◆ getOrLoadStrData()

const DWARFDataExtractor & DWARFContext::getOrLoadStrData ( )

◆ getOrLoadStrOffsetsData()

const DWARFDataExtractor & DWARFContext::getOrLoadStrOffsetsData ( )

◆ getOrLoadTuIndexData()

const DWARFDataExtractor & DWARFContext::getOrLoadTuIndexData ( )
private

◆ isDwo()

bool lldb_private::plugin::dwarf::DWARFContext::isDwo ( )
inline

Definition at line 78 of file DWARFContext.h.

References m_dwo_section_list.

Referenced by lldb_private::plugin::dwarf::DWARFUnit::extract(), and GetAsLLVM().

◆ LoadOrGetSection()

const DWARFDataExtractor & DWARFContext::LoadOrGetSection ( std::optional< lldb::SectionType main_section_type,
std::optional< lldb::SectionType dwo_section_type,
SectionData data 
)
private

Member Data Documentation

◆ m_data_debug_abbrev

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_abbrev
private

Definition at line 32 of file DWARFContext.h.

Referenced by getOrLoadAbbrevData().

◆ m_data_debug_addr

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_addr
private

Definition at line 33 of file DWARFContext.h.

Referenced by getOrLoadAddrData().

◆ m_data_debug_aranges

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_aranges
private

Definition at line 34 of file DWARFContext.h.

Referenced by getOrLoadArangesData().

◆ m_data_debug_cu_index

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_cu_index
private

Definition at line 35 of file DWARFContext.h.

Referenced by getOrLoadCuIndexData().

◆ m_data_debug_info

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_info
private

Definition at line 36 of file DWARFContext.h.

Referenced by getOrLoadDebugInfoData().

◆ m_data_debug_line

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_line
private

Definition at line 37 of file DWARFContext.h.

Referenced by getOrLoadLineData().

◆ m_data_debug_line_str

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_line_str
private

Definition at line 38 of file DWARFContext.h.

Referenced by getOrLoadLineStrData().

◆ m_data_debug_loc

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_loc
private

Definition at line 39 of file DWARFContext.h.

Referenced by getOrLoadLocData().

◆ m_data_debug_loclists

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_loclists
private

Definition at line 40 of file DWARFContext.h.

Referenced by getOrLoadLocListsData().

◆ m_data_debug_macro

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_macro
private

Definition at line 41 of file DWARFContext.h.

Referenced by getOrLoadMacroData().

◆ m_data_debug_ranges

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_ranges
private

Definition at line 42 of file DWARFContext.h.

Referenced by getOrLoadRangesData().

◆ m_data_debug_rnglists

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_rnglists
private

Definition at line 43 of file DWARFContext.h.

Referenced by getOrLoadRngListsData().

◆ m_data_debug_str

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_str
private

Definition at line 44 of file DWARFContext.h.

Referenced by getOrLoadStrData().

◆ m_data_debug_str_offsets

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_str_offsets
private

Definition at line 45 of file DWARFContext.h.

Referenced by getOrLoadStrOffsetsData().

◆ m_data_debug_tu_index

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_tu_index
private

Definition at line 46 of file DWARFContext.h.

Referenced by getOrLoadTuIndexData().

◆ m_data_debug_types

SectionData lldb_private::plugin::dwarf::DWARFContext::m_data_debug_types
private

Definition at line 47 of file DWARFContext.h.

Referenced by getOrLoadDebugTypesData().

◆ m_dwo_section_list

SectionList* lldb_private::plugin::dwarf::DWARFContext::m_dwo_section_list
private

Definition at line 24 of file DWARFContext.h.

Referenced by isDwo().

◆ m_llvm_context

std::unique_ptr<llvm::DWARFContext> lldb_private::plugin::dwarf::DWARFContext::m_llvm_context
mutableprivate

Definition at line 25 of file DWARFContext.h.

Referenced by GetAsLLVM().

◆ m_main_section_list

SectionList* lldb_private::plugin::dwarf::DWARFContext::m_main_section_list
private

Definition at line 23 of file DWARFContext.h.


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