diff options
author | Aleksandr Urakov <xande8088@yandex.ru> | 2025-07-21 09:08:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-21 09:08:33 +0300 |
commit | c9cbd4e9d4025b3b5c9593f3c187e0d5e3471a89 (patch) | |
tree | 31930757e51b18fa166a5afca7648723c8dde63e /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 6193dd55535460c347f8c0b794df7d7d52fa78c9 (diff) | |
download | llvm-c9cbd4e9d4025b3b5c9593f3c187e0d5e3471a89.zip llvm-c9cbd4e9d4025b3b5c9593f3c187e0d5e3471a89.tar.gz llvm-c9cbd4e9d4025b3b5c9593f3c187e0d5e3471a89.tar.bz2 |
[lld] Fix -ObjC load behavior with LTO for section names with whitespace (#146654)
This is a fix additional to #92162
In some cases, section names contain a whitespace between the segment
name and the actual section name (e.g. `__TEXT, __swift5_proto`). It is
confirmed by source code of the Swift compiler
This fix allows LTO to work correctly with the `-ObjC` flag in that rare
case when only a section with a whitespace in the name is present in the
linked bitcode module, but there are no sections containing
`__TEXT,__swift`
---------
Co-authored-by: Ураков Александр Сергеевич <a.urakov@tbank.ru>
Co-authored-by: Ellis Hoag <ellis.sparky.hoag@gmail.com>
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions