[lldb] Add support for recognizing swift ast sections in object files
In Apple's downstream fork, there is support for understanding the swift AST sections in various binaries. Even though the lldb on llvm.org does not have support for debugging swift, I think it makes sense to move support for recognizing swift ast sections upstream. Differential Revision: https://reviews.llvm.org/D159142
This commit is contained in:
@@ -1679,6 +1679,7 @@ static SectionType GetSectionTypeFromName(llvm::StringRef Name) {
|
||||
.Case(".gnu_debugaltlink", eSectionTypeDWARFGNUDebugAltLink)
|
||||
.Case(".gosymtab", eSectionTypeGoSymtab)
|
||||
.Case(".text", eSectionTypeCode)
|
||||
.Case(".swift_ast", eSectionTypeSwiftModules)
|
||||
.Default(eSectionTypeOther);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user