[PATCH] D49979: [llvm-objcopy] Add --dump-section

Paul Semel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 05:14:58 PDT 2018


paulsemel added a comment.

I know that there is this `only-keep` option that is supposed to do the same but :

- It doesn't work at all (segfault). I made it work only with the `dump-section.test`, otherwise with real binaries it segfault.
- This one is compliant with GNU binutils command line, and is not file format dependent. (even tho `llvm-objcopy` only handles ELF for the moment)


Repository:
  rL LLVM

https://reviews.llvm.org/D49979





More information about the llvm-commits mailing list