diff options
author | Adrian Prantl <aprantl@apple.com> | 2024-10-28 17:18:34 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2024-12-10 09:36:38 -0800 |
commit | 9a9c1d4a6155a96ce9be494cec7e25731d36b33e (patch) | |
tree | 29fa08734270ab1e00cf7844c34794e273cbf75d /lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | |
parent | 1a650fde4a885420c6f2991b41039c4b16ff42e1 (diff) | |
download | llvm-9a9c1d4a6155a96ce9be494cec7e25731d36b33e.zip llvm-9a9c1d4a6155a96ce9be494cec7e25731d36b33e.tar.gz llvm-9a9c1d4a6155a96ce9be494cec7e25731d36b33e.tar.bz2 |
[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.
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp index bb712da..bfdb814 100644 --- a/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp +++ b/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp @@ -1011,6 +1011,7 @@ SectionType ObjectFilePECOFF::GetSectionType(llvm::StringRef sect_name, .Cases(".eh_frame", ".eh_fram", eSectionTypeEHFrame) .Case(".gosymtab", eSectionTypeGoSymtab) .Case(".lldbsummaries", lldb::eSectionTypeLLDBTypeSummaries) + .Case(".lldbformatters", lldb::eSectionTypeLLDBFormatters) .Case("swiftast", eSectionTypeSwiftModules) .Default(eSectionTypeInvalid); if (section_type != eSectionTypeInvalid) |