[all-commits] [llvm/llvm-project] 7654d8: [lld-macho][nfc] Convert the mock libSystem.tbd to...
Jez Ng via All-commits
all-commits at lists.llvm.org
Thu May 6 08:20:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7654d8e1a96cb9dda0318ff5489c17f3780f1944
https://github.com/llvm/llvm-project/commit/7654d8e1a96cb9dda0318ff5489c17f3780f1944
Author: Jez Ng <jezng at fb.com>
Date: 2021-05-06 (Thu, 06 May 2021)
Changed paths:
M lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
Log Message:
-----------
[lld-macho][nfc] Convert the mock libSystem.tbd to TBDv4
It doesn't seem like TBDv3 allows for specifying multiple platforms, so I'm
upgrading us to TBDv4. (We need to support multiple platforms in order to test
that we can handle zippered dylibs; that functionality will be added in an
upcoming diff.)
Differential Revision: https://reviews.llvm.org/D101953
Commit: 9260760235261a5cd150b15a3499f7988da65a02
https://github.com/llvm/llvm-project/commit/9260760235261a5cd150b15a3499f7988da65a02
Author: Jez Ng <jezng at fb.com>
Date: 2021-05-06 (Thu, 06 May 2021)
Changed paths:
M lld/MachO/InputFiles.cpp
M lld/MachO/InputFiles.h
M lld/test/MachO/Inputs/MacOSX.sdk/usr/lib/libSystem.tbd
A lld/test/MachO/zippered.yaml
Log Message:
-----------
[lld-macho] Support loading of zippered dylibs
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.
Fixes PR49597.
Reviewed By: #lld-macho, oontvoo
Differential Revision: https://reviews.llvm.org/D101954
Compare: https://github.com/llvm/llvm-project/compare/933551eaeb08...926076023526
More information about the All-commits
mailing list