[PATCH] D59638: [llvm-objcopy] - Implement replaceSectionReferences for GroupSection class.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 06:31:59 PDT 2019


grimar created this revision.
grimar added reviewers: jhenderson, jakehehrlich, alexshap, rupprecht.
Herald added subscribers: jdoerfert, MaskRay, arichardson, emaste.
Herald added a reviewer: espindola.

Currently, llvm-objcopy incorrectly handles compression and decompression of the
sections from COMDAT groups, because we do not implement the
`replaceSectionReferences` for this type of the sections.

The patch does that.


https://reviews.llvm.org/D59638

Files:
  test/tools/llvm-objcopy/ELF/Inputs/compress-debug-sections.yaml
  test/tools/llvm-objcopy/ELF/compress-debug-sections-groups.test
  tools/llvm-objcopy/ELF/Object.cpp
  tools/llvm-objcopy/ELF/Object.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59638.191671.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190321/a643ae46/attachment.bin>


More information about the llvm-commits mailing list