[PATCH] D59958: [llvm-objcopy] Change SHT_NOBITS to SHT_PROBITS for some --set-section-flags

Jordan Rupprecht via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 29 11:54:34 PDT 2019


rupprecht updated this revision to Diff 192881.
rupprecht marked 5 inline comments as done.
rupprecht added a comment.

- Only change the type if the input is SHT_NOBITS
- Add test coverage


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59958/new/

https://reviews.llvm.org/D59958

Files:
  llvm/test/tools/llvm-objcopy/ELF/rename-section-flag.test
  llvm/test/tools/llvm-objcopy/ELF/set-section-flags.test
  llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59958.192881.patch
Type: text/x-patch
Size: 16718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190329/29cb74f1/attachment.bin>


More information about the llvm-commits mailing list