diff options
| author | Pavel Labath <pavel@labath.sk> | 2019-06-14 14:12:25 +0000 |
|---|---|---|
| committer | Pavel Labath <pavel@labath.sk> | 2019-06-14 14:12:25 +0000 |
| commit | 00e3968b8a411eb95eb2cc544a6b499ca0ad299d (patch) | |
| tree | ee7c5b6e235143982cdb4fd2916736823fa3274f /lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp | |
| parent | e05ca381010d24e222027a9a985c7ce902f13671 (diff) | |
| download | bcm5719-llvm-00e3968b8a411eb95eb2cc544a6b499ca0ad299d.tar.gz bcm5719-llvm-00e3968b8a411eb95eb2cc544a6b499ca0ad299d.zip | |
DWARF: port debug_ranges/rnglists over to DWARFContext
llvm-svn: 363400
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp')
| -rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp index 951c72543b9..96d193cbf82 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp @@ -75,6 +75,16 @@ const DWARFDataExtractor &DWARFContext::getOrLoadMacroData() { m_data_debug_macro); } +const DWARFDataExtractor &DWARFContext::getOrLoadRangesData() { + return LoadOrGetSection(eSectionTypeDWARFDebugRanges, llvm::None, + m_data_debug_ranges); +} + +const DWARFDataExtractor &DWARFContext::getOrLoadRngListsData() { + return LoadOrGetSection(eSectionTypeDWARFDebugRngLists, llvm::None, + m_data_debug_rnglists); +} + const DWARFDataExtractor &DWARFContext::getOrLoadStrData() { return LoadOrGetSection(eSectionTypeDWARFDebugStr, eSectionTypeDWARFDebugStrDwo, m_data_debug_str); |

