[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:48:40 PST 2022


mstorsjo added a comment.

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


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