[lldb] Add boilerplate to recognize the .debug_tu_index section

It's just like debug_cu_index, only for type units.
This commit is contained in:
Pavel Labath
2020-02-20 13:42:52 +01:00
parent 0e417b034a
commit 7b59ff2fa0
6 changed files with 20 additions and 0 deletions

View File

@@ -1592,6 +1592,7 @@ static SectionType GetSectionTypeFromName(llvm::StringRef Name) {
.Case("str.dwo", eSectionTypeDWARFDebugStrDwo)
.Case("str_offsets", eSectionTypeDWARFDebugStrOffsets)
.Case("str_offsets.dwo", eSectionTypeDWARFDebugStrOffsetsDwo)
.Case("tu_index", eSectionTypeDWARFDebugTuIndex)
.Case("types", eSectionTypeDWARFDebugTypes)
.Case("types.dwo", eSectionTypeDWARFDebugTypesDwo)
.Default(eSectionTypeOther);