[llvm-readobj] - Add a few warnings for --gnu-hash-table.
authorGeorgii Rymar <grimar@accesssoftek.com>
Thu, 23 Jan 2020 13:24:56 +0000 (16:24 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Thu, 30 Jan 2020 11:02:24 +0000 (14:02 +0300)
commit5f8e51a9d4a36cfd9e8f934a351865680927d10e
treefb249227cf7b541afc6aed107f2c9a4562885351
parent7fd7a9a6365f8026d84a89ec3e73d328a63742a0
[llvm-readobj] - Add a few warnings for --gnu-hash-table.

The current implementation stops dumping in case of a single error
it handles, though we can continue dumping.
This patch refines it: it adds a few warnings and a few test cases.

Differential revision: https://reviews.llvm.org/D73269
llvm/test/tools/llvm-readobj/ELF/gnuhash.test
llvm/tools/llvm-readobj/ELFDumper.cpp