From ad805ef95a75ceeef4efd300075025d7be0d918f Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 12 Jun 2019 11:42:42 +0000 Subject: Recognise debug_types.dwo as a debug info section This is a preparatory patch to allow reading type units from dwo files. llvm-svn: 363146 --- lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp') diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index bc802040bf7..47d5664700d 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -1705,6 +1705,7 @@ static SectionType GetSectionTypeFromName(llvm::StringRef Name) { .Case(".debug_str_offsets", eSectionTypeDWARFDebugStrOffsets) .Case(".debug_str_offsets.dwo", eSectionTypeDWARFDebugStrOffsetsDwo) .Case(".debug_types", eSectionTypeDWARFDebugTypes) + .Case(".debug_types.dwo", eSectionTypeDWARFDebugTypesDwo) .Case(".eh_frame", eSectionTypeEHFrame) .Case(".gnu_debugaltlink", eSectionTypeDWARFGNUDebugAltLink) .Case(".gosymtab", eSectionTypeGoSymtab) -- cgit v1.2.3