[lldb] Implement a formatter bytecode interpreter in C++
Compared to the python version, this also does type checking and error handling, so it's slightly longer, however, it's still comfortably under 500 lines.
This commit is contained in:
@@ -1697,6 +1697,7 @@ static SectionType GetSectionTypeFromName(llvm::StringRef Name) {
|
||||
.Case(".gosymtab", eSectionTypeGoSymtab)
|
||||
.Case(".text", eSectionTypeCode)
|
||||
.Case(".lldbsummaries", lldb::eSectionTypeLLDBTypeSummaries)
|
||||
.Case(".lldbformatters", lldb::eSectionTypeLLDBFormatters)
|
||||
.Case(".swift_ast", eSectionTypeSwiftModules)
|
||||
.Default(eSectionTypeOther);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user