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

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 11 04:54:19 PDT 2021


ikudrin updated this revision to Diff 365717.
ikudrin marked an inline comment as done.
ikudrin edited the summary of this revision.
ikudrin added a comment.

- Added a test for `--only-keep-debug`
- Moved updating references for replaced sections from `replaceDebugSections()` to `Object::replaceSections()`


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/only-keep-debug.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.365717.patch
Type: text/x-patch
Size: 32381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210811/82b34dd3/attachment.bin>


More information about the llvm-commits mailing list