]> granicus.if.org Git - llvm/commit
[llvm-readobj] - Simplify .gnu.version_d dumping.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 18 Feb 2019 13:58:12 +0000 (13:58 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 18 Feb 2019 13:58:12 +0000 (13:58 +0000)
commit3d4666cd74d3aaab54ce4076ae92b119cfe101ba
tree62ac1ea5351e87a7f403f68cf24414a9415acd98
parentb6d8f1d922903b62102a610043b9045d742e8c4a
[llvm-readobj] - Simplify .gnu.version_d dumping.

This is similar to D58048.

Instead of scanning the dynamic table to read the
DT_VERDEFNUM, we could take it from the sh_info field.
(https://docs.oracle.com/cd/E19683-01/816-1386/chapter6-94076/index.html)

The patch does this.

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