[PATCH] D101954: [lld-macho] Support loading of zippered dylibs

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 15:56:12 PDT 2021


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

ld64 can emit dylibs that support more than one platform (typically macOS and
macCatalyst). This diff allows LLD to read in those dylibs. Note that this is a
super bare-bones implementation -- in particular, I haven't added support for
LLD to emit those multi-platform dylibs, nor have I added a variety of
validation checks that ld64 does. Until we have a use-case for emitting zippered
dylibs, I think this is good enough.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101954

Files:
  lld/MachO/InputFiles.cpp
  lld/MachO/InputFiles.h
  lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
  lld/test/MachO/zippered.yaml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101954.343222.patch
Type: text/x-patch
Size: 10814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210505/7aa5453d/attachment.bin>


More information about the llvm-commits mailing list