[compiler-rt] [llvm] Fix Objective-C selector registration in clang-repl MachO runtime (PR #215359)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 13:26:39 PDT 2026
linisha15 wrote:
Hi @lhames ,
Thanks for taking a look.
To be clear: I don't have direct evidence that the weak symbols are
failing to resolve, or that _objc_map_images/_objc_load_image aren't
rebasing __objc_selrefs internally. Both fixes came from reasoning
through the dyld vs. ORC JIT code paths, not from a confirmed
reproduction — I don't have macOS access, so I couldn't verify either
assumption at runtime.
Given that, I agree the more useful next step is confirming whether
_objc_map_images/_objc_load_image are actually being reached and
whether they're doing the rebasing internally, rather than assuming
either of my patches addresses the real cause. Happy to help dig
further into the code side if that's useful while you look into the
bug — let me know if there's anything specific I can help trace.
https://github.com/llvm/llvm-project/pull/215359
More information about the llvm-commits
mailing list