[PATCH] D103324: [lld/mac] Implement -dead_strip

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 28 09:34:40 PDT 2021


thakis added a comment.

In D103324#2787238 <https://reviews.llvm.org/D103324#2787238>, @tschuett wrote:

> Sorry for bothering with this with ld64.lld:
>
>   = note: ld64.lld: error: unknown argument '-m64'
>           ld64.lld: error: unknown argument '-Wl,-dead_strip'
>           ld64.lld: error: unknown argument '-nodefaultlibs'
>           ld64.lld: error: must specify -platform_version

Oh, if you call it through clang (which is the normal way), just -fuse-ld=lld does the right thing. This is really off topic for this review try though 😃


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

https://reviews.llvm.org/D103324



More information about the llvm-commits mailing list