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

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 16:35:34 PDT 2022


keith added a comment.

This is a WIP version of https://github.com/llvm/llvm-project/issues/56034 I wanted to submit it early to hopefully get some initial reactions from folks in case I'm going down a bad path here! FYI I'm out through 7/5th, so I won't get back to this until sometime after then.

There are quite a few things left to do mostly outlined by TODOs here. Right now this doesn't work with non-trivial programs because some (not sure the conditions here) object files contain a __objc_selrefs section that conflicts with the one I'm creating. I also have only been testing this on my M1 <https://reviews.llvm.org/M1> mac, which is why I've only done the arm64 support so far, and clearly I haven't added any tests yet.

But I'd love to get feedback on the overall approach here before I flesh out these TODOs!


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