[PATCH] D53332: Access ADDLIB in llvm-ar via command line
Owen Reynolds via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 16 10:06:07 PDT 2018
gbreynoo created this revision.
gbreynoo added reviewers: mstorsjo, MaskRay, ruiu, pcc.
Herald added a subscriber: llvm-commits.
ADDLIB is called to add the contents of an archive to another archive. This is currently only available in llvm-ar and gnu-ar through the use of an MRI script. We propose adding a new modifier to the llvm-ar command line so workflows that require the ADDLIB functionality are not forced to use MRI scripts.
With the use of a new "L" modifier, archive files can treated in the manner above when using quick append.
"L" was chosen as a key letter only because it is not used by gnu-ar, any alternate suggestions would be appreciated.
Repository:
rL LLVM
https://reviews.llvm.org/D53332
Files:
test/tools/llvm-ar/Inputs/add-lib1.yaml
test/tools/llvm-ar/Inputs/add-lib2.yaml
test/tools/llvm-ar/Inputs/add-lib3.yaml
test/tools/llvm-ar/add-library.test
tools/llvm-ar/llvm-ar.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53332.169836.patch
Type: text/x-patch
Size: 10079 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181016/39375782/attachment.bin>
More information about the llvm-commits
mailing list