commit | efd8832ecbaf9e201e2ca11057f24b9fe6969714 | [log] [tgz] |
---|---|---|
author | George Rimar <grimar@accesssoftek.com> | Thu Jul 19 14:52:57 2018 +0000 |
committer | George Rimar <grimar@accesssoftek.com> | Thu Jul 19 14:52:57 2018 +0000 |
tree | 62da5346e12319135f5ec22f627cb72ec7b5bafe | |
parent | 2a478d43e1f4f6ee0a8a60ded4bb65d655ad418d [diff] |
[llvm-readobj] - Do not report invalid amount of sections. When output style is GNU and amount of sections is >= SHN_LORESERVE, llvm-readobj reports zero number of sections instead of actual value. The patch fixes that. Differential revision: https://reviews.llvm.org/D49544 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337462 91177308-0d34-0410-b5e6-96231b3b80d8