[lldb/DWARF] Move location list sections into DWARFContext
authorPavel Labath <pavel@labath.sk>
Mon, 23 Dec 2019 15:31:36 +0000 (16:31 +0100)
committerPavel Labath <pavel@labath.sk>
Tue, 14 Jan 2020 14:19:29 +0000 (15:19 +0100)
commit4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb
treeeebb48f4226cdb36d524868ae534c408780b1f78
parente1f524ea43f920767259c47e201405091d7e76fd
[lldb/DWARF] Move location list sections into DWARFContext

These are the last sections not managed by the DWARFContext object. I
also introduce separate SectionType enums for dwo section variants, as
this is necessary for proper handling of single-file split dwarf.
12 files changed:
lldb/include/lldb/lldb-enumerations.h
lldb/source/Core/Section.cpp
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFContext.h
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
lldb/source/Symbol/ObjectFile.cpp
lldb/test/Shell/ObjectFile/ELF/section-types.yaml
lldb/test/Shell/SymbolFile/DWARF/debug_loclists-dwo.s