From 4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Mon, 23 Dec 2019 16:31:36 +0100 Subject: [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. --- lldb/source/Symbol/ObjectFile.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Symbol/ObjectFile.cpp') diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp index 4f6d74bbc75..8a72b5fe6f6 100644 --- a/lldb/source/Symbol/ObjectFile.cpp +++ b/lldb/source/Symbol/ObjectFile.cpp @@ -352,7 +352,9 @@ AddressClass ObjectFile::GetAddressClass(addr_t file_addr) { case eSectionTypeDWARFDebugLine: case eSectionTypeDWARFDebugLineStr: case eSectionTypeDWARFDebugLoc: + case eSectionTypeDWARFDebugLocDwo: case eSectionTypeDWARFDebugLocLists: + case eSectionTypeDWARFDebugLocListsDwo: case eSectionTypeDWARFDebugMacInfo: case eSectionTypeDWARFDebugMacro: case eSectionTypeDWARFDebugNames: -- cgit v1.2.3