[MinGW] Support --out-implib=name in addition to "--out-implib name"
Differential Revision: https://reviews.llvm.org/D39329 llvm-svn: 316692
This commit is contained in:
parent
c0e7e76fd7
commit
27af6b0082
|
@ -19,6 +19,7 @@ def no_whole_archive: F<"no-whole-archive">,
|
|||
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">;
|
||||
|
|
|
@ -38,6 +38,7 @@ RUN: ld.lld -### foo.o -m i386pep -o bar.exe | FileCheck -check-prefix=OUT %s
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue