[PATCH] D76452: Use LLD by default for Android.

Dan Albert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 24 12:26:42 PDT 2020


danalbert added a comment.

In D76452#2000812 <https://reviews.llvm.org/D76452#2000812>, @nickdesaulniers wrote:

> Can we use `-DCLANG_DEFAULT_LINKER=lld` to configure AOSP's distribution of LLD, then require the use of `-fuse-ld=<whatever the host linker is on OSX that is currently used>` when targeting OSX host tools?


It'd work (and might be a good short term solution here until we can get feedback from @ruiu, and @int3) but I'm not sure I like the idea of breaking the default Darwin configuration much more than the default Android configuration. It's less commonly used by our toolchain, but it's definitely used.


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