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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 04:06:57 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL361017: [MinGW] Include --enable-auto-import in the help listing (authored by mstorsjo, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D62053?vs=199979&id=200015#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62053/new/

https://reviews.llvm.org/D62053

Files:
  lld/trunk/MinGW/Options.td
  lld/trunk/test/MinGW/driver.test


Index: lld/trunk/MinGW/Options.td
===================================================================
--- lld/trunk/MinGW/Options.td
+++ lld/trunk/MinGW/Options.td
@@ -76,7 +76,7 @@
 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">;
Index: lld/trunk/test/MinGW/driver.test
===================================================================
--- lld/trunk/test/MinGW/driver.test
+++ lld/trunk/test/MinGW/driver.test
@@ -174,3 +174,7 @@
 # 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62053.200015.patch
Type: text/x-patch
Size: 1003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190517/bc261198/attachment.bin>


More information about the llvm-commits mailing list