[PATCH] D51660: [llvm-strip] Support stripping multiple input files
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 4 15:24:10 PDT 2018
rupprecht created this revision.
Herald added subscribers: llvm-commits, jakehehrlich.
Herald added a reviewer: alexshap.
Allow strip to be called on multiple input files, which is interpreted as stripping N files in place. Using multiple input files is incompatible with -o.
To allow this, create a `DriverConfig` struct which just wraps a list of `CopyConfigs`. objcopy will only ever have a single `CopyConfig`, but strip will have N (where N >= 1) CopyConfigs.
Repository:
rL LLVM
https://reviews.llvm.org/D51660
Files:
test/tools/llvm-objcopy/strip-multiple-files.test
tools/llvm-objcopy/llvm-objcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51660.163934.patch
Type: text/x-patch
Size: 5990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180904/1f5bd5b0/attachment.bin>
More information about the llvm-commits
mailing list