[PATCH] D116484: [lld][MinGW] Ignore `--[no-]as-neeed` flags in MinGW driver
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 2 13:56:36 PST 2022
mstorsjo added a comment.
In D116484#3216485 <https://reviews.llvm.org/D116484#3216485>, @mstorsjo wrote:
> In D116484#3216409 <https://reviews.llvm.org/D116484#3216409>, @MaskRay wrote:
>
>> Unless there are motivating examples that some options are incorrectly used in a prevailing way, it doesn't seem right to ignore options from another binary format which cannot be properly modeled.
>
> As linking against DLL import libraries kinda works like `--as-needed` (only ending up with a runtime dependency if symbols actually are referenced), would you consider accepting `--as-needed` but omitting `--no-as-needed`?
Also, feel free to join in on the discsussion at https://github.com/llvm/llvm-project/issues/52947.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116484/new/
https://reviews.llvm.org/D116484
More information about the llvm-commits
mailing list