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/ELF/ObjectFileELF.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/ELF/ObjectFileELF.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp index a8249cf..b16cb11 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -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); } |