[PATCH] D119612: [clang] Pass more flags to ld64.lld

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 16 07:43:07 PST 2022


thakis updated this revision to Diff 409254.
thakis added a comment.

Pass `-B` with `-fuse-ld=lld` since the latter flag only has an effect if ld64.lld exists on disk, and clang/test doesn't depend on lld (and shouldn't).

Also move object_path_lto to its own file since it can run fine on non-darwin hosts.


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

https://reviews.llvm.org/D119612

Files:
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/test/Driver/darwin-ld-lto-lld.c
  clang/test/Driver/darwin-ld-lto.c
  clang/test/Driver/darwin-ld.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119612.409254.patch
Type: text/x-patch
Size: 5059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220216/ad58ab1a/attachment.bin>


More information about the cfe-commits mailing list