[PATCH] D80184: [lld] Accept -flavor FLAVOR anywhere on the command line
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 19 09:49:09 PDT 2020
MaskRay added a comment.
I think the problem here is that we should give thew new Darwin port a symlink like `ld.lld`, `wasm-ld` and `lld-link`.
Then we can teach clang to support `-fuse-ld=foobar` by locating the executable `foobar` (not `ld.foobar` as hard-coded by -fuse-ld=bfd -fuse-ld=gold -fuse-ld=lld) for non-ELF platforms. This requires a clang driver change.
I actually have a GCC patch sitting there for a while. https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543324.html
I need to finish it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80184/new/
https://reviews.llvm.org/D80184
More information about the llvm-commits
mailing list