[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 11:28:46 PDT 2020


MaskRay added a comment.

In D80184#2044576 <https://reviews.llvm.org/D80184#2044576>, @gkm wrote:

> True--this is no substitute for clang integration.
>  But meanwhile, is there harm in proceeding with this fix?


There is some little harm. In GNU ld, `-flavor` means `--auxillary lavor`.

I think using `-Wl,-flavor,*` to change the linker is weird. Let's see if `-fuse-ld=` can be fixed (D80225 <https://reviews.llvm.org/D80225>).


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