diff options
| author | Alex Langford <alangford@apple.com> | 2023-08-29 14:11:41 -0700 |
|---|---|---|
| committer | Alex Langford <alangford@apple.com> | 2023-08-31 15:16:12 -0700 |
| commit | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb (patch) | |
| tree | 6f224b734744e38062a100c42d737b433292fb47 /lldb/source/Symbol/ObjectFile.cpp | |
| parent | dfc0ede1f889fbd8bf6dfca0e479ee70495786ab (diff) | |
[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
Diffstat (limited to 'lldb/source/Symbol/ObjectFile.cpp')
| -rw-r--r-- | lldb/source/Symbol/ObjectFile.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Symbol/ObjectFile.cpp b/lldb/source/Symbol/ObjectFile.cpp index 364cb850a28a..07f79aaedab8 100644 --- a/lldb/source/Symbol/ObjectFile.cpp +++ b/lldb/source/Symbol/ObjectFile.cpp @@ -357,6 +357,7 @@ AddressClass ObjectFile::GetAddressClass(addr_t file_addr) { case eSectionTypeDWARFAppleObjC: case eSectionTypeDWARFGNUDebugAltLink: case eSectionTypeCTF: + case eSectionTypeSwiftModules: return AddressClass::eDebug; case eSectionTypeEHFrame: case eSectionTypeARMexidx: |
