[PATCH] D98262: [lld/mac] Implement support for -mark_dead_strippable_dylib

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 9 12:03:28 PST 2021


int3 accepted this revision.
int3 added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lld/MachO/Options.td:338
 def mark_dead_strippable_dylib : Flag<["-"], "mark_dead_strippable_dylib">,
-     HelpText<"Clients can discard this dylib if it is unreferenced">,
-     Flags<[HelpHidden]>,
+     HelpText<"Mark output dylib as dead strippable: When a client links against it but does not use any of its symbols, the dylib will not be added to the client's list of needed dylibs">,
      Group<grp_dylib>;
----------------
nit: dead-strippable


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98262/new/

https://reviews.llvm.org/D98262



More information about the llvm-commits mailing list