[llvm-readobj/llvm-readelf] - Reimplement dumping of the SHT_GNU_verneed section.
authorGeorgii Rymar <grimar@accesssoftek.com>
Thu, 28 Nov 2019 09:19:50 +0000 (12:19 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Mon, 2 Dec 2019 09:27:31 +0000 (12:27 +0300)
commitc653a52c85ff913bcbef007082763dbc754d6933
tree621f31772c6761378609e2ac47f5c40f32d7904c
parentbd23859f390aa81ddb1bf0b16684cce50ad9d66d
[llvm-readobj/llvm-readelf] - Reimplement dumping of the SHT_GNU_verneed section.

This is similar to D70495, but for SHT_GNU_verneed section.
It solves the same problems: different implementations, lack of error reporting
and no test coverage.

DIfferential revision: https://reviews.llvm.org/D70826
llvm/test/tools/llvm-readobj/elf-verneed-invalid.test
llvm/tools/llvm-readobj/ELFDumper.cpp