[llvm-readobj] - Improve test of --elf-hash-histogram option.
authorGeorgii Rymar <grimar@accesssoftek.com>
Fri, 27 Mar 2020 12:35:10 +0000 (15:35 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 30 Mar 2020 12:46:45 +0000 (15:46 +0300)
commit4cbfb98eb362b0629d5d1cd113af4427e2904763
tree6608b26fca86dd5a118d6ccb076d475c4390fb16
parent9c9d88d8b1bb6468f6c4258fe41bbcd01f742801
[llvm-readobj] - Improve test of --elf-hash-histogram option.

This test missed the check of histograms printed for .hash sections.
It was removed by mistake in D71606 where I tried to get rid of precompiled objects
and did not realize that time that both SHT_GNU_HASH and SHT_HASH sections
were tested and not just GNU version.

Also it never tested aliases for the --elf-hash-histogram option.

Differential revision: https://reviews.llvm.org/D76920
llvm/test/tools/llvm-readobj/ELF/hash-histogram.test