[PATCH] D98262: [lld/mac] Implement support for -mark_dead_strippable_dylib
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 9 07:19:28 PST 2021
thakis created this revision.
thakis added a reviewer: lld-macho.
Herald added a subscriber: dang.
Herald added a reviewer: int3.
Herald added a project: lld-macho.
thakis requested review of this revision.
lld doesn't read MH_DEAD_STRIPPABLE_DYLIB to strip dead dylibs yet,
but now it can produce dylibs with it set.
While here, also switch an existing test that looks only at the main Mach-O
header from --all-headers to --private-header.
https://reviews.llvm.org/D98262
Files:
lld/MachO/Config.h
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/MachO/SyntheticSections.cpp
lld/test/MachO/header.s
lld/test/MachO/mark-dead-strippable-dylib.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98262.329337.patch
Type: text/x-patch
Size: 4665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210309/d09f8d7a/attachment.bin>
More information about the llvm-commits
mailing list