[PATCH] D108781: [lld-macho] Have -ObjC load archive members before symbol resolution

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 26 12:12:57 PDT 2021


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added subscribers: ormris, steven_wu, hiraditya.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is what ld64 does. Deviating in behavior here can result
in some subtle duplicate symbol errors, as detailed in the objc.s test.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108781

Files:
  lld/MachO/Driver.cpp
  lld/test/MachO/lto-archive.ll
  lld/test/MachO/objc.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108781.368955.patch
Type: text/x-patch
Size: 5462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210826/d9128b4f/attachment.bin>


More information about the llvm-commits mailing list