[PATCH] D69343: [llvm-ar] Allow MRI scripts to be passed via command line argument

Owen Reynolds via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 08:42:08 PDT 2019


gbreynoo created this revision.
gbreynoo added reviewers: rupprecht, MaskRay, ruiu.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Some of our customers prefer the input of MRI scripts through command line argument rather than through stdin.  I've set up this diff to see if there was interest in this functionality, allowing for either method to be used.

For context:

- gnu-ar only allows use of MRI scripts through stdin.
- `-M` is the only command in gnu-ar or llvm-ar that requires use of stdin.


Repository:
  rL LLVM

https://reviews.llvm.org/D69343

Files:
  llvm/test/tools/llvm-ar/mri5.test
  llvm/tools/llvm-ar/llvm-ar.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69343.226138.patch
Type: text/x-patch
Size: 4756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191023/e29ea22f/attachment.bin>


More information about the llvm-commits mailing list