[lld] [llvm] [lld] Fix -ObjC load behavior with LTO for section names with whitespace (PR #146654)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 01:59:33 PDT 2025
================
@@ -296,7 +296,8 @@ static Expected<bool> hasObjCCategoryInModule(BitstreamCursor &Stream) {
// Check for the i386 and other (x86_64, ARM) conventions
if (S.find("__DATA,__objc_catlist") != std::string::npos ||
S.find("__OBJC,__category") != std::string::npos ||
- S.find("__TEXT,__swift") != std::string::npos)
+ S.find("__TEXT,__swift") != std::string::npos ||
+ S.find("__TEXT, __swift") != std::string::npos)
----------------
aleksandr-urakov wrote:
Thanks for pointing to that! I've updated the PR
https://github.com/llvm/llvm-project/pull/146654
More information about the llvm-commits
mailing list