[llvm-readobj] - Add a test for --hash-table option.
authorGeorgii Rymar <grimar@accesssoftek.com>
Tue, 21 Jan 2020 14:49:42 +0000 (17:49 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 27 Jan 2020 09:28:21 +0000 (12:28 +0300)
commita33427447df06ccde496ac6d84abd6709063c6b4
tree297edec65f08e1ec44637fbd73c9ac2c6848b44e
parentd0a7cc717734ca85e9ad652671d8dfa2456243a7
[llvm-readobj] - Add a test for --hash-table option.

We had no test for --hash-table in tools/llvm-readobj.

The one we had was in test/Object and checked that
it is possible to dump the hash table even when an object
doesn't have a section header table.

In this patch I created a test, moved and merged the existent one.
During moving I converted it to be YAML based to stop using the
precompiled binary.

Differential revision: https://reviews.llvm.org/D73105
llvm/test/Object/Inputs/no-section-table.so [deleted file]
llvm/test/Object/no-section-table.test [deleted file]
llvm/test/tools/llvm-readobj/ELF/hash-table.test [new file with mode: 0644]