OSDN Git Service

[llvm-readobj] - Teach llvm-readobj to print dependencies of SHT_GNU_verdef and refac...
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 22 Jun 2016 13:43:38 +0000 (13:43 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 22 Jun 2016 13:43:38 +0000 (13:43 +0000)
commita4c44066ce7e7b26ea238e1b3e6e18cb89a48cb1
treeb7c52be87593ca88494181fa2b6705c547bfb617
parentccfdf6d851156db5c35a13ec8fe270f17148c0f7
[llvm-readobj] - Teach llvm-readobj to print dependencies of SHT_GNU_verdef and refactor dumping method.

This patch changes single method of llvm-readobj.
It teaches SHT_GNU_verdef dumper to print version dependencies,
also it removes few fields from output that can be dumped with other keys
and slightly refactors code.
Testcase was also modified to match the changes.
Change is required for testcases of upcoming lld patches.

Differential revision: http://reviews.llvm.org/D21552

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273417 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/elf-versioninfo.test
tools/llvm-readobj/ELFDumper.cpp