[lld] [llvm] [lld] Fix -ObjC load behavior with LTO (PR #92162)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 01:02:45 PST 2025


aleksandr-urakov wrote:

Hello guys!

I just have faced this issue, and have a question about the fix. The problem is that sometimes name string contains a whitespace after the comma, e.g. `__TEXT, __swift5_proto`.

The current fix works in the case when there is at least one string without a whitespace (e.g. `__TEXT,__swift5_typeref`). I can't build an example without such section name though.

Can you tell, is the presence somehow guaranteed, or it is worth to make an additional check for the case `__TEXT, __swift`?

https://github.com/llvm/llvm-project/pull/92162


More information about the llvm-commits mailing list