[MinGW] Include --enable-auto-import in the help listing

Libtool concludes that the linker doesn't support shared libraries,
unless this flag is listed in the output of --help.

Differential Revision: https://reviews.llvm.org/D62053

llvm-svn: 361017
This commit is contained in:
Martin Storsjo 2019-05-17 11:07:46 +00:00
parent 6863dfaa21
commit 6ff6a8f656
2 changed files with 5 additions and 1 deletions

View File

@ -76,7 +76,7 @@ def: Joined<["-"], "O">;
def: F<"build-id">;
def: F<"disable-auto-image-base">;
def: F<"enable-auto-image-base">;
def: F<"enable-auto-import">;
def: F<"enable-auto-import">, HelpText<"Ignored; listed for libtool compatibility">;
def: F<"end-group">;
def: Flag<["--"], "full-shutdown">;
def: F<"high-entropy-va">;

View File

@ -174,3 +174,7 @@ APPCONTAINER: -appcontainer
# RUN: ld.lld -m i386pep -v 2>&1 | FileCheck -check-prefix=VERSION %s
# RUN: not ld.lld -m i386pep -v xyz 2>&1 | FileCheck -check-prefix=VERSION %s
# VERSION: LLD {{.*}} (compatible with GNU linkers)
# RUN: ld.lld -m i386pep --help 2>&1 | FileCheck -check-prefix=HELP %s
# HELP: USAGE:
# HELP: --enable-auto-import