[PATCH] D62659: [llvm-readobj] - Convert gnu-sections.test to use YAML.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 06:43:01 PDT 2019


grimar created this revision.
grimar added reviewers: jhenderson, rupprecht, jakehehrlich, MaskRay.

`gnu-sections.test` currently use `relocs.obj.elf-x86_64` and
`relocs.obj.elf-i386` precompiled objects as an inputs.

These inputs actually initially were introduced to test the
dump of relocations and have almost nothing common with dumping
sections.

Patch converts the test to use yaml2obj. That allows to remove
`relocs.obj.elf-i386` binary.
(`relocs.obj.elf-x86_64` is still used by another test and can't be removed atm).

This patch is rebased on top of D62655 <https://reviews.llvm.org/D62655>.


https://reviews.llvm.org/D62659

Files:
  test/tools/llvm-readobj/Inputs/relocs.obj.elf-i386
  test/tools/llvm-readobj/gnu-sections.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62659.202179.patch
Type: text/x-patch
Size: 8260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190530/9da03f12/attachment.bin>


More information about the llvm-commits mailing list