[lld] c40049d - [lld][MinGW] Remove `--no-as-needed` from ignored flags

Markus Böck via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 3 14:01:12 PST 2022


Author: Markus Böck
Date: 2022-01-03T23:01:02+01:00
New Revision: c40049d6d7f18c3703b038e1e2517c9a551c1678

URL: https://github.com/llvm/llvm-project/commit/c40049d6d7f18c3703b038e1e2517c9a551c1678
DIFF: https://github.com/llvm/llvm-project/commit/c40049d6d7f18c3703b038e1e2517c9a551c1678.diff

LOG: [lld][MinGW] Remove `--no-as-needed` from ignored flags

In the post commit discussion of https://reviews.llvm.org/D116484 it was concluded that `--no-as-needed` should not be ignored. `--as-needed` stays ignored as it is already the default behaviour on COFF, which cannot be changed.

Added: 
    

Modified: 
    lld/MinGW/Options.td

Removed: 
    


################################################################################
diff  --git a/lld/MinGW/Options.td b/lld/MinGW/Options.td
index c38b0710d39b4..019ff74ad9712 100644
--- a/lld/MinGW/Options.td
+++ b/lld/MinGW/Options.td
@@ -154,7 +154,6 @@ def: F<"end-group">;
 def: Flag<["--"], "full-shutdown">;
 defm: EqNoHelp<"major-image-version">;
 defm: EqNoHelp<"minor-image-version">;
-def: F<"no-as-needed">;
 def: F<"no-undefined">;
 def: F<"pic-executable">;
 defm: EqNoHelp<"plugin">;


        


More information about the llvm-commits mailing list