[PATCH] D49899: Force test/Driver/fuchsia.c(pp) to use lld

David Greene via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 13:48:16 PDT 2018


greened added a comment.

In https://reviews.llvm.org/D49899#1178545, @ruiu wrote:

> > The Fuchsia driver relies on lld so invoke clang with -fuse-ld=lld. This gets the test passing when the clang default linker is something other than lld.
>
> Does it work if lld is not installed at all? I believe if the driver cannot find a specified linker, it reports an error instead of trying to execute a nonexistent file.


Not it does not.  There does not seem to be a way to disable a test if lld is not available.  I couldn't find anything appropriate for a REQUIRES in
the test.  I would like to leave that work for another time.  This at least gets things working a little better.


https://reviews.llvm.org/D49899





More information about the cfe-commits mailing list