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

#include <DWARFContext.h>

Collaboration diagram for lldb_private::DWARFContext:
Collaboration graph
[legend]

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 (llvm::Optional< lldb::SectionType > main_section_type, llvm::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 20 of file DWARFContext.h.

Constructor & Destructor Documentation

◆ DWARFContext()

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

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

Definition at line 43 of file DWARFContext.cpp.

References lldb::eSectionTypeDWARFDebugCuIndex.

◆ getOrLoadDebugInfoData()

const DWARFDataExtractor & DWARFContext::getOrLoadDebugInfoData ( )

◆ getOrLoadDebugTypesData()

const DWARFDataExtractor & DWARFContext::getOrLoadDebugTypesData ( )

◆ getOrLoadLineData()

const DWARFDataExtractor & DWARFContext::getOrLoadLineData ( )

◆ getOrLoadLineStrData()

const DWARFDataExtractor & DWARFContext::getOrLoadLineStrData ( )

Definition at line 78 of file DWARFContext.cpp.

References lldb::eSectionTypeDWARFDebugLineStr.

Referenced by DWARFFormValue::AsCString(), and DWARFContext().

◆ 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

Definition at line 48 of file DWARFContext.cpp.

References lldb::eSectionTypeDWARFDebugTuIndex.

◆ isDwo()

bool lldb_private::DWARFContext::isDwo ( )
inline

Definition at line 77 of file DWARFContext.h.

References GetAsLLVM().

Referenced by DWARFUnit::extract(), and DWARFDebugInfo::ParseUnitsFor().

◆ LoadOrGetSection()

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

Member Data Documentation

◆ m_data_debug_abbrev

SectionData lldb_private::DWARFContext::m_data_debug_abbrev
private

Definition at line 31 of file DWARFContext.h.

◆ m_data_debug_addr

SectionData lldb_private::DWARFContext::m_data_debug_addr
private

Definition at line 32 of file DWARFContext.h.

◆ m_data_debug_aranges

SectionData lldb_private::DWARFContext::m_data_debug_aranges
private

Definition at line 33 of file DWARFContext.h.

◆ m_data_debug_cu_index

SectionData lldb_private::DWARFContext::m_data_debug_cu_index
private

Definition at line 34 of file DWARFContext.h.

◆ m_data_debug_info

SectionData lldb_private::DWARFContext::m_data_debug_info
private

Definition at line 35 of file DWARFContext.h.

◆ m_data_debug_line

SectionData lldb_private::DWARFContext::m_data_debug_line
private

Definition at line 36 of file DWARFContext.h.

◆ m_data_debug_line_str

SectionData lldb_private::DWARFContext::m_data_debug_line_str
private

Definition at line 37 of file DWARFContext.h.

◆ m_data_debug_loc

SectionData lldb_private::DWARFContext::m_data_debug_loc
private

Definition at line 38 of file DWARFContext.h.

◆ m_data_debug_loclists

SectionData lldb_private::DWARFContext::m_data_debug_loclists
private

Definition at line 39 of file DWARFContext.h.

◆ m_data_debug_macro

SectionData lldb_private::DWARFContext::m_data_debug_macro
private

Definition at line 40 of file DWARFContext.h.

◆ m_data_debug_ranges

SectionData lldb_private::DWARFContext::m_data_debug_ranges
private

Definition at line 41 of file DWARFContext.h.

◆ m_data_debug_rnglists

SectionData lldb_private::DWARFContext::m_data_debug_rnglists
private

Definition at line 42 of file DWARFContext.h.

◆ m_data_debug_str

SectionData lldb_private::DWARFContext::m_data_debug_str
private

Definition at line 43 of file DWARFContext.h.

◆ m_data_debug_str_offsets

SectionData lldb_private::DWARFContext::m_data_debug_str_offsets
private

Definition at line 44 of file DWARFContext.h.

◆ m_data_debug_tu_index

SectionData lldb_private::DWARFContext::m_data_debug_tu_index
private

Definition at line 45 of file DWARFContext.h.

◆ m_data_debug_types

SectionData lldb_private::DWARFContext::m_data_debug_types
private

Definition at line 46 of file DWARFContext.h.

◆ m_dwo_section_list

SectionList* lldb_private::DWARFContext::m_dwo_section_list
private

Definition at line 23 of file DWARFContext.h.

◆ m_llvm_context

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

Definition at line 24 of file DWARFContext.h.

◆ m_main_section_list

SectionList* lldb_private::DWARFContext::m_main_section_list
private

Definition at line 22 of file DWARFContext.h.


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