[PATCH] D39329: [LLD] [MinGW] Support --out-implib=name in addition to "--out-implib name"
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 13:12:27 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL316692: [MinGW] Support --out-implib=name in addition to "--out-implib name" (authored by mstorsjo).
Changed prior to commit:
https://reviews.llvm.org/D39329?vs=120384&id=120472#toc
Repository:
rL LLVM
https://reviews.llvm.org/D39329
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
@@ -19,6 +19,7 @@
def o: JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">,
HelpText<"Path to file to write output">;
def out_implib: Separate<["--"], "out-implib">, HelpText<"Import library name">;
+def out_implib_eq: Joined<["--"], "out-implib=">, Alias<out_implib>;
def output_def: S<"output-def">, HelpText<"Output def file">;
def shared: F<"shared">, HelpText<"Build a shared object">;
def subs: S<"subsystem">, HelpText<"Specify subsystem">;
Index: lld/trunk/test/MinGW/driver.test
===================================================================
--- lld/trunk/test/MinGW/driver.test
+++ lld/trunk/test/MinGW/driver.test
@@ -38,6 +38,7 @@
OUT: -out:bar.exe
RUN: ld.lld -### foo.o -m i386pep --out-implib bar | FileCheck -check-prefix=IMPLIB %s
+RUN: ld.lld -### foo.o -m i386pep --out-implib=bar | FileCheck -check-prefix=IMPLIB %s
IMPLIB: -implib:bar
RUN: ld.lld -### foo.o -m i386pep -out-implib bar | FileCheck -check-prefix=NOIMPLIB %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39329.120472.patch
Type: text/x-patch
Size: 1131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171026/003032a6/attachment.bin>
More information about the llvm-commits
mailing list