[PATCH] D67090: [llvm-objcopy][llvm-strip] Support --only-keep-debug
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 20:37:39 PDT 2019
MaskRay updated this revision to Diff 218586.
MaskRay retitled this revision from "[llvm-objcopy] Add a new file offset assignment algorithm and support --only-keep-debug" to "[llvm-objcopy][llvm-strip] Support --only-keep-debug".
MaskRay edited the summary of this revision.
MaskRay added a comment.
Use the custom layout algorithm only for --only-keep-debug
This simplies the patch a lot.
The old approach is kept at D67137 <https://reviews.llvm.org/D67137> for exposition purposes.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67090/new/
https://reviews.llvm.org/D67090
Files:
test/tools/llvm-objcopy/ELF/basic-only-keep-debug.test
test/tools/llvm-objcopy/ELF/only-keep-debug.test
tools/llvm-objcopy/CommonOpts.td
tools/llvm-objcopy/CopyConfig.cpp
tools/llvm-objcopy/ELF/ELFObjcopy.cpp
tools/llvm-objcopy/ELF/Object.cpp
tools/llvm-objcopy/ELF/Object.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67090.218586.patch
Type: text/x-patch
Size: 11980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/b92abc36/attachment.bin>
More information about the llvm-commits
mailing list