[lldb] Add support for recognizing swift ast sections in object files
commit764287f1ad69469cc264bb094e8fcdcfdd0fcdfb
authorAlex Langford <alangford@apple.com>
Tue, 29 Aug 2023 21:11:41 +0000 (29 14:11 -0700)
committerAlex Langford <alangford@apple.com>
Thu, 31 Aug 2023 22:16:12 +0000 (31 15:16 -0700)
tree6f224b734744e38062a100c42d737b433292fb47
parentdfc0ede1f889fbd8bf6dfca0e479ee70495786ab
[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
lldb/include/lldb/lldb-enumerations.h
lldb/source/Core/Section.cpp
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
lldb/source/Symbol/ObjectFile.cpp