[PATCH] D70919: [Hexagon] Avoid passing unsupported options to lld when -fuse-ld=lld is used

Rui Ueyama via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 11 20:46:45 PST 2019


ruiu added a comment.

In D70919#1771198 <https://reviews.llvm.org/D70919#1771198>, @sidneym wrote:

> Remove quotes around check-not.
>
> -fuse-ld=lld is the correct usage.  -fuse-ld=ld.lld results in an error message:
>  error: invalid linker name in argument '-fuse-ld=ld.lld'


`-fuse-ld` accepts an absolute path to a linker, so you can pass for example `-fuse-ld=/absolute/path/to/ld.lld`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70919





More information about the cfe-commits mailing list