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
This commit is contained in:
Pavel Labath
2019-06-12 11:42:42 +00:00
parent 31908669c6
commit ad805ef95a
6 changed files with 13 additions and 0 deletions

View File

@@ -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)