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 (llvm::Optional< lldb::SectionType > main_section_type, llvm::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 126 of file DWARFContext.cpp.
Referenced by DWARFUnitHeader::extract(), SymbolFileDWARFDwo::GetDWOCompileUnitForHash(), SymbolFileDWARF::GetTypeUnitSupportFiles(), ParseLLVMLineTable(), ParseLLVMLineTablePrologue(), and SymbolFileDWARFDwo::SymbolFileDWARFDwo().
const DWARFDataExtractor & DWARFContext::getOrLoadAbbrevData | ( | ) |
Definition at line 53 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugAbbrev, and lldb::eSectionTypeDWARFDebugAbbrevDwo.
Referenced by SymbolFileDWARF::DebugAbbrev().
const DWARFDataExtractor & DWARFContext::getOrLoadAddrData | ( | ) |
Definition at line 63 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugAddr.
Referenced by DWARFFormValue::Address(), DWARFUnit::FindRnglistFromOffset(), and ReadAddressFromDebugAddrSection().
const DWARFDataExtractor & DWARFContext::getOrLoadArangesData | ( | ) |
Definition at line 58 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugAranges.
Referenced by DWARFDebugInfo::GetCompileUnitAranges().
|
private |
Definition at line 43 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugCuIndex.
const DWARFDataExtractor & DWARFContext::getOrLoadDebugInfoData | ( | ) |
Definition at line 68 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugInfo, and lldb::eSectionTypeDWARFDebugInfoDwo.
Referenced by DWARFUnit::GetData(), and DWARFDebugInfo::ParseUnitsFor().
const DWARFDataExtractor & DWARFContext::getOrLoadDebugTypesData | ( | ) |
Definition at line 121 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugTypes, and lldb::eSectionTypeDWARFDebugTypesDwo.
Referenced by DWARFUnit::GetData(), and DWARFDebugInfo::ParseUnitsFor().
const DWARFDataExtractor & DWARFContext::getOrLoadLineData | ( | ) |
Definition at line 73 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLine.
Referenced by SymbolFileDWARF::GetTypeUnitSupportFiles(), ParseLLVMLineTable(), and ParseLLVMLineTablePrologue().
const DWARFDataExtractor & DWARFContext::getOrLoadLineStrData | ( | ) |
Definition at line 78 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLineStr.
Referenced by DWARFFormValue::AsCString().
const DWARFDataExtractor & DWARFContext::getOrLoadLocData | ( | ) |
Definition at line 83 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLoc, and lldb::eSectionTypeDWARFDebugLocDwo.
Referenced by DWARFUnit::GetLocationData().
const DWARFDataExtractor & DWARFContext::getOrLoadLocListsData | ( | ) |
Definition at line 88 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugLocLists, and lldb::eSectionTypeDWARFDebugLocListsDwo.
Referenced by DWARFUnit::GetLocationData(), DWARFUnit::GetLoclistOffset(), and DWARFUnit::SetLoclistsBase().
const DWARFDataExtractor & DWARFContext::getOrLoadMacroData | ( | ) |
Definition at line 94 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugMacro.
Referenced by SymbolFileDWARF::ParseDebugMacros().
const DWARFDataExtractor & DWARFContext::getOrLoadRangesData | ( | ) |
Definition at line 99 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugRanges.
Referenced by DWARFDebugRanges::Extract(), and SymbolFileDWARF::GetDebugRanges().
const DWARFDataExtractor & DWARFContext::getOrLoadRngListsData | ( | ) |
Definition at line 104 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugRngLists, and lldb::eSectionTypeDWARFDebugRngListsDwo.
Referenced by DWARFUnit::GetRnglistData().
const DWARFDataExtractor & DWARFContext::getOrLoadStrData | ( | ) |
Definition at line 110 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugStr, and lldb::eSectionTypeDWARFDebugStrDwo.
Referenced by DWARFFormValue::AsCString(), SymbolFileDWARF::InitializeObject(), and SymbolFileDWARF::ParseDebugMacros().
const DWARFDataExtractor & DWARFContext::getOrLoadStrOffsetsData | ( | ) |
Definition at line 115 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugStrOffsets, and lldb::eSectionTypeDWARFDebugStrOffsetsDwo.
Referenced by DWARFUnit::GetStringOffsetSectionItem(), and DWARFUnit::SetDwoStrOffsetsBase().
|
private |
Definition at line 48 of file DWARFContext.cpp.
References lldb::eSectionTypeDWARFDebugTuIndex.
|
inline |
Definition at line 77 of file DWARFContext.h.
References m_dwo_section_list.
Referenced by DWARFUnitHeader::extract().
|
private |
Definition at line 31 of file DWARFContext.cpp.
References lldb_private::DWARFContext::SectionData::data, and lldb_private::DWARFContext::SectionData::flag.
|
private |
Definition at line 31 of file DWARFContext.h.
|
private |
Definition at line 32 of file DWARFContext.h.
|
private |
Definition at line 33 of file DWARFContext.h.
|
private |
Definition at line 34 of file DWARFContext.h.
|
private |
Definition at line 35 of file DWARFContext.h.
|
private |
Definition at line 36 of file DWARFContext.h.
|
private |
Definition at line 37 of file DWARFContext.h.
|
private |
Definition at line 38 of file DWARFContext.h.
|
private |
Definition at line 39 of file DWARFContext.h.
|
private |
Definition at line 40 of file DWARFContext.h.
|
private |
Definition at line 41 of file DWARFContext.h.
|
private |
Definition at line 42 of file DWARFContext.h.
|
private |
Definition at line 43 of file DWARFContext.h.
|
private |
Definition at line 44 of file DWARFContext.h.
|
private |
Definition at line 45 of file DWARFContext.h.
|
private |
Definition at line 46 of file DWARFContext.h.
|
private |
Definition at line 23 of file DWARFContext.h.
Referenced by isDwo().
|
mutableprivate |
Definition at line 24 of file DWARFContext.h.
|
private |
Definition at line 22 of file DWARFContext.h.