[llvm-objcopy] - Reimplement strip-dwo-groups.test to stop using the precompiled...
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 29 Jul 2019 07:55:39 +0000 (07:55 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 29 Jul 2019 07:55:39 +0000 (07:55 +0000)
commit99f73ebe5c96de340c3a148c4a99e4aca5d13b7a
tree5a698026cff185024fcf5c6e37235964d6e42257
parent822c58704bc8a1432e1f207d00de1c1f7bd7d0da
[llvm-objcopy] - Reimplement strip-dwo-groups.test to stop using the precompiled object.

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.

Differential revision: https://reviews.llvm.org/D65273

llvm-svn: 367202
llvm/test/tools/llvm-objcopy/ELF/Inputs/groups.o [deleted file]
llvm/test/tools/llvm-objcopy/ELF/strip-dwo-groups.test