[lld-macho] Add support for creating and reading reexported dylibs
authorJez Ng <jezng@fb.com>
Fri, 24 Apr 2020 03:16:49 +0000 (20:16 -0700)
committerJez Ng <jezng@fb.com>
Tue, 12 May 2020 14:52:03 +0000 (07:52 -0700)
commit87b6fd3e02c696b917a75750dea8e33ce00246ec
treedf38f6056c9c4397c8596e802fed9ebfcdc3f578
parentc8c39185f351e79730843ca6d4c1ad26e4f9f444
[lld-macho] Add support for creating and reading reexported dylibs

This unblocks the linking of real programs, since many core system
functions are only available as sub-libraries of libSystem.

Differential Revision: https://reviews.llvm.org/D79228
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/InputFiles.cpp
lld/MachO/InputFiles.h
lld/MachO/Options.td
lld/MachO/SyntheticSections.cpp
lld/MachO/Writer.cpp
lld/test/MachO/sub-library.s [new file with mode: 0644]