[PATCH] D83015: [Driver] Add --ld-path= and deprecate -fuse-ld=/abs/path and -fuse-ld=rel/path

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 15 07:52:40 PDT 2022


thakis added a comment.
Herald added a subscriber: StephenFan.
Herald added a project: All.

`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`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83015



More information about the cfe-commits mailing list