Peter Collingbourne
6f750292da
LibDriver: Silently do nothing when provided no inputs.
...
This behavior is strange, but it matches lib.exe. Based on a patch by
Nico Weber.
Fixes PR27335.
llvm-svn: 266236
2016-04-13 19:36:04 +00:00
Rafael Espindola
e9bb2459f5
Add support for producing thin archives in llvm-lib.
...
I will send an entry in docs/CommandGuide for review today.
llvm-svn: 242533
2015-07-17 16:01:11 +00:00
Peter Collingbourne
fe08b5f6b2
LibDriver: Fix output path inference.
...
The inferred output file name is based on the first input file, not the
first one with extension .obj. The output file was also being written to
the wrong directory; it needs to be written to whichever directory on the
libpath it was found in. This change fixes both issues.
llvm-svn: 241710
2015-07-08 19:00:46 +00:00
Peter Collingbourne
e41720cb1c
Use correct escaping for semicolon on Windows.
...
llvm-svn: 240207
2015-06-20 01:28:20 +00:00
Peter Collingbourne
b3f5a1083a
LibDriver tests require x86 target.
...
llvm-svn: 240205
2015-06-20 01:14:37 +00:00
Peter Collingbourne
f38314b83d
LibDriver: implement /libpath and $LIB; ignore /ignore and /machine.
...
llvm-svn: 240203
2015-06-20 00:57:12 +00:00