[PATCH] D37541: llvm-lib: add a feature to merge library files.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 6 16:48:06 PDT 2017


ruiu created this revision.
Herald added a subscriber: hiraditya.

If an input file is actually an archive file, MSVC lib.exe doesn't add
that file to a resulting archive file. Instead, it will add its members
to a resulting archive. Therefore, by giving archive files to lib.exe,
you can merge them without extracting-and-rearchiving them.

This patch is to add the same functionality to llvm-lib, which is our
version of lib.exe.


https://reviews.llvm.org/D37541

Files:
  llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
  llvm/test/LibDriver/invalid.test
  llvm/test/LibDriver/merge.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37541.114099.patch
Type: text/x-patch
Size: 7870 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170906/269a7060/attachment.bin>


More information about the llvm-commits mailing list