1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/tools/llvm-objcopy
Jordan Rupprecht 52282e180e [llvm-strip] Support stripping multiple input files
Summary:
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.

Reviewers: alexshap, jakehehrlich

Reviewed By: alexshap, jakehehrlich

Subscribers: MaskRay, jakehehrlich, llvm-commits

Differential Revision: https://reviews.llvm.org/D51660

llvm-svn: 341464
2018-09-05 13:10:03 +00:00
..
CMakeLists.txt [tools] Introduce llvm-strip 2018-05-07 19:32:09 +00:00
llvm-objcopy.cpp [llvm-strip] Support stripping multiple input files 2018-09-05 13:10:03 +00:00
llvm-objcopy.h [NFC][llvm-objcopy] Cleanup namespace usage in llvm-objcopy. 2018-07-18 00:10:51 +00:00
LLVMBuild.txt Recommit "[llvm-objcopy] Switch over to using TableGen for parsing arguments" 2018-04-24 05:43:32 +00:00
ObjcopyOpts.td Revert r341342: Dwarf .debug section compression support (zlib, zlib-gnu). 2018-09-04 11:55:57 +00:00
Object.cpp [llvm-strip] Allow copying relocation sections without symbol tables. 2018-09-04 22:28:49 +00:00
Object.h Revert r341342: Dwarf .debug section compression support (zlib, zlib-gnu). 2018-09-04 11:55:57 +00:00
StripOpts.td [llvm-strip] Add support for -p/--preserve-dates 2018-08-16 18:29:40 +00:00