commit | 3a226015a0ca52936763a079da582656164c2908 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Fri Nov 15 20:23:25 2013 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Fri Nov 15 20:23:25 2013 +0000 |
tree | 9f2d35d158610ea16bb6c8836bd1d74568eb5504 | |
parent | 7d5f2bd5f9615c0f20d3a1f75ec01452d813283b [diff] |
Readobj: If NumbersOfSections is 0xffff, it's an COFF import library. 0xffff does not mean that there are 65535 sections in a COFF file but indicates that it's a COFF import library. This patch fixes SEGV error when an import library file is passed to llvm-readobj. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194844 91177308-0d34-0410-b5e6-96231b3b80d8