[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user