[PATCH] D114841: [lld-macho] Fix duplicate symbols with relocatable objects

Keith Smiley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 30 20:28:48 PST 2021


keith created this revision.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In the case your framework bundles contain relocatable objects, and your
objects include LC_LINKER_OPTIONs for the framework, previously they
would not be deduplicated like they would have if they were static
archives. This was also the case if you passed `-framework` for the
framework as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114841

Files:
  lld/MachO/Driver.cpp
  lld/test/MachO/framework-object.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114841.390895.patch
Type: text/x-patch
Size: 4019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211201/a929fabd/attachment.bin>


More information about the llvm-commits mailing list