MaskRay added a comment.

In D83015#3792397 <https://reviews.llvm.org/D83015#3792397>, @thakis wrote:

> `LinkerIsLLD` isn't getting set when `--ld-path` is used. (It also isn't 
> getting set when using `-fuse-ld=` with an absolute path.)
>
> How do you imagine using an absolute path and telling clang "the linker is 
> lld, you can assume it's built at the same rev as you" in this new world 
> should look like? Pass both `-fuse-ld=lld` and `--ld-path=path/to/lld`?

Yes, specify both options. -fuse-ld= specifies the flavor while --ld-path= 
specifies a path the Clang Driver does not want to detect.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83015

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to