[PATCH] D76452: Use LLD by default for Android.
Dan Albert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 26 12:29:39 PDT 2020
danalbert reclaimed this revision.
danalbert added a comment.
This revision is now accepted and ready to land.
It seems I'd goofed something in my testing earlier (I think I still had `-fuse-ld=lld` force on in my build system). While Clang will find `ld` in the driver directory and prefer it, LLD defaults to the Darwin driver mode when `argv[0]` is `ld` when run on Darwin. We need GNU mode, and the best way to get this behavior is to have Clang invoke `ld.lld` instead.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76452/new/
https://reviews.llvm.org/D76452
More information about the cfe-commits
mailing list