[PATCH] D39021: [llvm-objcopy] Add support for --only-keep/-j and --keep
Jake Ehrlich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 15 15:25:56 PST 2017
jakehehrlich updated this revision to Diff 123095.
jakehehrlich retitled this revision from "[llvm-objcopy] Add support for --only-keep and the special way it interacts with -O binary" to "[llvm-objcopy] Add support for --only-keep/-j and --keep".
jakehehrlich edited the summary of this revision.
jakehehrlich added a comment.
1. I implemented the semantics I presented above. Also note that my proposal for llvm-objcopy simplifies to "copies have priority over removes". I describe the behavior this way in the comment I added for this behavior.
2. I added a -keep operation
3. All the SectionDump non-sense is gone
Repository:
rL LLVM
https://reviews.llvm.org/D39021
Files:
test/tools/llvm-objcopy/basic-keep.test
test/tools/llvm-objcopy/basic-only-keep.test
test/tools/llvm-objcopy/dump-section.test
test/tools/llvm-objcopy/explicit-keep-remove.test
test/tools/llvm-objcopy/keep-multi.test
test/tools/llvm-objcopy/only-keep-many.test
tools/llvm-objcopy/Object.h
tools/llvm-objcopy/llvm-objcopy.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39021.123095.patch
Type: text/x-patch
Size: 9135 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171115/6671136c/attachment.bin>
More information about the llvm-commits
mailing list