[PATCH] D65273: [llvm-objcopy] - Reimplement strip-dwo-groups.test to stop using the precompiled object.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 05:01:19 PDT 2019


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

When llvm-copy removes `.dwo` sections the index of symbol table,
the indices of the symbols and the indices of the sections which go
after the removed ones changes. That affects on SHT_GROUP sections,
which needs to be updated.

Initially this test used a precompiled object, I rewrote it to use YAML
and improved a bit.


https://reviews.llvm.org/D65273

Files:
  test/tools/llvm-objcopy/ELF/Inputs/groups.o
  test/tools/llvm-objcopy/ELF/strip-dwo-groups.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65273.211716.patch
Type: text/x-patch
Size: 3923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190725/8bd53054/attachment.bin>


More information about the llvm-commits mailing list