[PATCH] D107653: [llvm-objcopy][ELF] Avoid reordering section headers

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 9 05:24:12 PDT 2021


ikudrin updated this revision to Diff 365165.
ikudrin edited the summary of this revision.
ikudrin added a comment.
Herald added a subscriber: mgrang.

- When debug sections are compressed or decompressed, place the new sections at the positions of removed ones. That fixes failures in `compress-debug-sections-zlib.test` and `compress-debug-sections-zlib-gnu.test`.


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

https://reviews.llvm.org/D107653

Files:
  llvm/test/tools/llvm-objcopy/ELF/drawf-fission.test
  llvm/test/tools/llvm-objcopy/ELF/dwarf-fission.test
  llvm/test/tools/llvm-objcopy/ELF/dynsym-valid-refs.test
  llvm/test/tools/llvm-objcopy/ELF/group-reorder.test
  llvm/test/tools/llvm-objcopy/ELF/ihex-reader.test
  llvm/test/tools/llvm-objcopy/ELF/layout-sections-by-original-offsets.test
  llvm/test/tools/llvm-objcopy/ELF/shared-strtab-shstrtab.s
  llvm/test/tools/llvm-objcopy/ELF/strip-dwo-groups.test
  llvm/test/tools/llvm-objcopy/ELF/strip-dwo-inplace.test
  llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
  llvm/tools/llvm-objcopy/ELF/Object.cpp
  llvm/tools/llvm-objcopy/ELF/Object.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107653.365165.patch
Type: text/x-patch
Size: 28931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210809/25b710e7/attachment.bin>


More information about the llvm-commits mailing list