diff options
author | Dave Lee <davelee.com@gmail.com> | 2024-01-24 12:42:45 -0800 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2024-12-10 09:36:38 -0800 |
commit | 1a650fde4a885420c6f2991b41039c4b16ff42e1 (patch) | |
tree | 4b5010f2f0b0122edcc72211d56fc56b99164888 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp | |
parent | d6590c1bcb1b15b3b3f9f0ee6f0a6ff2b10b1e4f (diff) | |
download | llvm-1a650fde4a885420c6f2991b41039c4b16ff42e1.zip llvm-1a650fde4a885420c6f2991b41039c4b16ff42e1.tar.gz llvm-1a650fde4a885420c6f2991b41039c4b16ff42e1.tar.bz2 |
[lldb] Load embedded type summary section (#7859) (#8040)
Add support for type summaries embedded into the binary.
These embedded summaries will typically be generated by Swift macros,
but can also be generated by any other means.
rdar://115184658
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 eac9ab4..a8249cf 100644 --- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -1696,6 +1696,7 @@ static SectionType GetSectionTypeFromName(llvm::StringRef Name) { .Case(".gnu_debugaltlink", eSectionTypeDWARFGNUDebugAltLink) .Case(".gosymtab", eSectionTypeGoSymtab) .Case(".text", eSectionTypeCode) + .Case(".lldbsummaries", lldb::eSectionTypeLLDBTypeSummaries) .Case(".swift_ast", eSectionTypeSwiftModules) .Default(eSectionTypeOther); } |