[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.
This commit is contained in:
@@ -1572,8 +1572,10 @@ static SectionType GetSectionTypeFromName(llvm::StringRef Name) {
|
||||
.Case("info.dwo", eSectionTypeDWARFDebugInfoDwo)
|
||||
.Cases("line", "line.dwo", eSectionTypeDWARFDebugLine)
|
||||
.Cases("line_str", "line_str.dwo", eSectionTypeDWARFDebugLineStr)
|
||||
.Cases("loc", "loc.dwo", eSectionTypeDWARFDebugLoc)
|
||||
.Cases("loclists", "loclists.dwo", eSectionTypeDWARFDebugLocLists)
|
||||
.Case("loc", eSectionTypeDWARFDebugLoc)
|
||||
.Case("loc.dwo", eSectionTypeDWARFDebugLocDwo)
|
||||
.Case("loclists", eSectionTypeDWARFDebugLocLists)
|
||||
.Case("loclists.dwo", eSectionTypeDWARFDebugLocListsDwo)
|
||||
.Case("macinfo", eSectionTypeDWARFDebugMacInfo)
|
||||
.Cases("macro", "macro.dwo", eSectionTypeDWARFDebugMacro)
|
||||
.Case("names", eSectionTypeDWARFDebugNames)
|
||||
|
||||
Reference in New Issue
Block a user