[llvm-readobj][test] - Remove amdgpu-elf-definitions.test
authorGeorgii Rymar <grimar@accesssoftek.com>
Fri, 28 Aug 2020 11:05:10 +0000 (14:05 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Tue, 1 Sep 2020 11:04:14 +0000 (14:04 +0300)
commitca233be2f0a6623d835d33f1453d3248448ba606
tree112655b9f0ef50315575e5280b751bb607973d43
parent6c6984ecd5438f3f7016bf6b79ebf6d9962f5b4b
[llvm-readobj][test] - Remove amdgpu-elf-definitions.test

`amdgpu-elf-definitions.test` is a file that tests
`Format`, 'OS/ABI' and 'Machine' fields printed for EM_AMDGPU.
It uses a precompiled object.

It is not needed to have it, because:
1) We already test formats in `file-header-format.test` + `llvm/unittests/Object/ELFObjectFileTest.cpp`.
2) We test 'OS/ABI' in `file-header-os-abi.test` for all possible values.
3) We test machine types in `file-header-machine-types.test`

In addition we have `amdgpu-elf-headers.test` which tests EM_AMDGPU specific flags. I.e.
it also tests the fact that llvm-readobj/elf are able to dump such objects.

This patch removes the test case and the corresponding binary.

Differential revision: https://reviews.llvm.org/D86774
llvm/test/tools/llvm-readobj/ELF/Inputs/trivial.obj.elf-amdhsa-gfx803 [deleted file]
llvm/test/tools/llvm-readobj/ELF/amdgpu-elf-definitions.test [deleted file]