LLDB mainline
|
#include <DWARFContext.h>
Classes | |
struct | SectionData |
Public Member Functions | |
DWARFContext (SectionList *main_section_list, SectionList *dwo_section_list) | |
const DWARFDataExtractor & | getOrLoadAbbrevData () |
const DWARFDataExtractor & | getOrLoadAddrData () |
const DWARFDataExtractor & | getOrLoadArangesData () |
const DWARFDataExtractor & | getOrLoadDebugInfoData () |
const DWARFDataExtractor & | getOrLoadLineData () |
const DWARFDataExtractor & | getOrLoadLineStrData () |
const DWARFDataExtractor & | getOrLoadLocData () |
const DWARFDataExtractor & | getOrLoadLocListsData () |
const DWARFDataExtractor & | getOrLoadMacroData () |
const DWARFDataExtractor & | getOrLoadRangesData () |
const DWARFDataExtractor & | getOrLoadRngListsData () |
const DWARFDataExtractor & | getOrLoadStrData () |
const DWARFDataExtractor & | getOrLoadStrOffsetsData () |
const DWARFDataExtractor & | getOrLoadDebugTypesData () |
bool | isDwo () |
llvm::DWARFContext & | GetAsLLVM () |
Private Member Functions | |
const DWARFDataExtractor & | LoadOrGetSection (std::optional< lldb::SectionType > main_section_type, std::optional< lldb::SectionType > dwo_section_type, SectionData &data) |
const DWARFDataExtractor & | getOrLoadCuIndexData () |
const DWARFDataExtractor & | getOrLoadTuIndexData () |
Definition at line 20 of file DWARFContext.h.
|
inlineexplicit |
Definition at line 57 of file DWARFContext.h.
llvm::DWARFContext & DWARFContext::GetAsLLVM | ( | ) |
Definition at line 127 of file DWARFContext.cpp.
References getOrLoadCuIndexData(), getOrLoadLineStrData(), getOrLoadTuIndexData(), and m_llvm_context.
Referenced by DWARFUnitHeader::extract(), SymbolFileDWARFDwo::GetDWOCompileUnitForHash(), SymbolFileDWARF::GetTypeUnitSupportFiles(), ParseLLVMLineTable(), ParseLLVMLineTablePrologue(), and SymbolFileDWARFDwo::SymbolFileDWARFDwo().
const DWARFDataExtractor & DWARFContext::getOrLoadAbbrevData | ( | ) |
Definition at line 54 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugAbbrev, lldb::eSectionTypeDWARFDebugAbbrevDwo, LoadOrGetSection(), and m_data_debug_abbrev.
Referenced by SymbolFileDWARF::DebugAbbrev().
const DWARFDataExtractor & DWARFContext::getOrLoadAddrData | ( | ) |
Definition at line 64 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugAddr, LoadOrGetSection(), and m_data_debug_addr.
Referenced by DWARFFormValue::Address(), DWARFUnit::FindRnglistFromOffset(), and DWARFUnit::ReadAddressFromDebugAddrSection().
const DWARFDataExtractor & DWARFContext::getOrLoadArangesData | ( | ) |
Definition at line 59 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugAranges, LoadOrGetSection(), and m_data_debug_aranges.
Referenced by DWARFDebugInfo::GetCompileUnitAranges().
|
private |
Definition at line 44 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugCuIndex, LoadOrGetSection(), and m_data_debug_cu_index.
Referenced by GetAsLLVM().
const DWARFDataExtractor & DWARFContext::getOrLoadDebugInfoData | ( | ) |
Definition at line 69 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugInfo, lldb::eSectionTypeDWARFDebugInfoDwo, LoadOrGetSection(), and m_data_debug_info.
Referenced by DWARFUnit::GetData(), and DWARFDebugInfo::ParseUnitsFor().
const DWARFDataExtractor & DWARFContext::getOrLoadDebugTypesData | ( | ) |
Definition at line 122 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugTypes, lldb::eSectionTypeDWARFDebugTypesDwo, LoadOrGetSection(), and m_data_debug_types.
Referenced by DWARFUnit::GetData(), and DWARFDebugInfo::ParseUnitsFor().
const DWARFDataExtractor & DWARFContext::getOrLoadLineData | ( | ) |
Definition at line 74 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLine, LoadOrGetSection(), and m_data_debug_line.
Referenced by SymbolFileDWARF::GetTypeUnitSupportFiles(), ParseLLVMLineTable(), and ParseLLVMLineTablePrologue().
const DWARFDataExtractor & DWARFContext::getOrLoadLineStrData | ( | ) |
Definition at line 79 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLineStr, LoadOrGetSection(), and m_data_debug_line_str.
Referenced by DWARFFormValue::AsCString(), and GetAsLLVM().
const DWARFDataExtractor & DWARFContext::getOrLoadLocData | ( | ) |
Definition at line 84 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLoc, lldb::eSectionTypeDWARFDebugLocDwo, LoadOrGetSection(), and m_data_debug_loc.
Referenced by DWARFUnit::GetLocationData().
const DWARFDataExtractor & DWARFContext::getOrLoadLocListsData | ( | ) |
Definition at line 89 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLocLists, lldb::eSectionTypeDWARFDebugLocListsDwo, LoadOrGetSection(), and m_data_debug_loclists.
Referenced by DWARFUnit::GetLocationData(), DWARFUnit::GetLoclistOffset(), and DWARFUnit::SetLoclistsBase().
const DWARFDataExtractor & DWARFContext::getOrLoadMacroData | ( | ) |
Definition at line 95 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugMacro, LoadOrGetSection(), and m_data_debug_macro.
Referenced by SymbolFileDWARF::ParseDebugMacros().
const DWARFDataExtractor & DWARFContext::getOrLoadRangesData | ( | ) |
Definition at line 100 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugRanges, LoadOrGetSection(), and m_data_debug_ranges.
Referenced by DWARFDebugRanges::Extract(), and SymbolFileDWARF::GetDebugRanges().
const DWARFDataExtractor & DWARFContext::getOrLoadRngListsData | ( | ) |
Definition at line 105 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugRngLists, lldb::eSectionTypeDWARFDebugRngListsDwo, LoadOrGetSection(), and m_data_debug_rnglists.
Referenced by DWARFUnit::GetRnglistData().
const DWARFDataExtractor & DWARFContext::getOrLoadStrData | ( | ) |
Definition at line 111 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugStr, lldb::eSectionTypeDWARFDebugStrDwo, LoadOrGetSection(), and m_data_debug_str.
Referenced by DWARFFormValue::AsCString(), SymbolFileDWARF::InitializeObject(), and SymbolFileDWARF::ParseDebugMacros().
const DWARFDataExtractor & DWARFContext::getOrLoadStrOffsetsData | ( | ) |
Definition at line 116 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugStrOffsets, lldb::eSectionTypeDWARFDebugStrOffsetsDwo, LoadOrGetSection(), and m_data_debug_str_offsets.
Referenced by DWARFUnit::GetStringOffsetSectionItem(), and DWARFUnit::SetDwoStrOffsetsBase().
|
private |
Definition at line 49 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugTuIndex, LoadOrGetSection(), and m_data_debug_tu_index.
Referenced by GetAsLLVM().
|
inline |
Definition at line 77 of file DWARFContext.h.
References m_dwo_section_list.
Referenced by DWARFUnitHeader::extract().
|
private |
Definition at line 32 of file DWARFContext.cpp.
References lldb_private::DWARFContext::SectionData::data, and lldb_private::DWARFContext::SectionData::flag.
Referenced by getOrLoadAbbrevData(), getOrLoadAddrData(), getOrLoadArangesData(), getOrLoadCuIndexData(), getOrLoadDebugInfoData(), getOrLoadDebugTypesData(), getOrLoadLineData(), getOrLoadLineStrData(), getOrLoadLocData(), getOrLoadLocListsData(), getOrLoadMacroData(), getOrLoadRangesData(), getOrLoadRngListsData(), getOrLoadStrData(), getOrLoadStrOffsetsData(), and getOrLoadTuIndexData().
|
private |
Definition at line 31 of file DWARFContext.h.
Referenced by getOrLoadAbbrevData().
|
private |
Definition at line 32 of file DWARFContext.h.
Referenced by getOrLoadAddrData().
|
private |
Definition at line 33 of file DWARFContext.h.
Referenced by getOrLoadArangesData().
|
private |
Definition at line 34 of file DWARFContext.h.
Referenced by getOrLoadCuIndexData().
|
private |
Definition at line 35 of file DWARFContext.h.
Referenced by getOrLoadDebugInfoData().
|
private |
Definition at line 36 of file DWARFContext.h.
Referenced by getOrLoadLineData().
|
private |
Definition at line 37 of file DWARFContext.h.
Referenced by getOrLoadLineStrData().
|
private |
Definition at line 38 of file DWARFContext.h.
Referenced by getOrLoadLocData().
|
private |
Definition at line 39 of file DWARFContext.h.
Referenced by getOrLoadLocListsData().
|
private |
Definition at line 40 of file DWARFContext.h.
Referenced by getOrLoadMacroData().
|
private |
Definition at line 41 of file DWARFContext.h.
Referenced by getOrLoadRangesData().
|
private |
Definition at line 42 of file DWARFContext.h.
Referenced by getOrLoadRngListsData().
|
private |
Definition at line 43 of file DWARFContext.h.
Referenced by getOrLoadStrData().
|
private |
Definition at line 44 of file DWARFContext.h.
Referenced by getOrLoadStrOffsetsData().
|
private |
Definition at line 45 of file DWARFContext.h.
Referenced by getOrLoadTuIndexData().
|
private |
Definition at line 46 of file DWARFContext.h.
Referenced by getOrLoadDebugTypesData().
|
private |
Definition at line 23 of file DWARFContext.h.
Referenced by isDwo().
|
mutableprivate |
Definition at line 24 of file DWARFContext.h.
Referenced by GetAsLLVM().
|
private |
Definition at line 22 of file DWARFContext.h.