[PATCH] D128108: [WIP][lld-macho] Add support for objc_msgSend stubs

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 13:46:43 PDT 2022


keith added a comment.

Thanks for doing a first pass!

In D128108#3631007 <https://reviews.llvm.org/D128108#3631007>, @int3 wrote:

> Re the section name conflict, do we just need to apply relocations + concatenate the output (i.e. what ConcatOutputSection is doing), or do we have to do something more complicated?

This is a good question that still requires more investigation from me. I have found so far that these sections already exist in object files only in _some_ cases and I haven't yet figured out why that is, or how that needs to be handled. I didn't hit that case until I started testing on real world codebases, and even then only a small subset of object files have them.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128108/new/

https://reviews.llvm.org/D128108



More information about the llvm-commits mailing list