]> granicus.if.org Git - llvm/commit
[llvm-readobj][xcoff] implement parsing overflow section header.
authorDigger Lin <digger.llvm@gmail.com>
Tue, 15 Oct 2019 19:28:11 +0000 (19:28 +0000)
committerDigger Lin <digger.llvm@gmail.com>
Tue, 15 Oct 2019 19:28:11 +0000 (19:28 +0000)
commit382c1a971c6ec2f14ca30ed5ca9af0a90e3828cb
tree9c5b75e9d5c35345d243979c818a54b6925720ac
parent62e7137cb94bf39cdb2760c586fee1b1be7437c1
[llvm-readobj][xcoff] implement parsing overflow section header.

SUMMARY:
in the xcoff, if the number of relocation entries or line number entries is
overflow(large than or equal 65535) , there will be overflow section for it.
The interpret of overflow section is different with generic section header,
the patch implement parsing the overflow section.

Reviewers: hubert.reinterpretcast,sfertile,jasonliu
Subscribers: rupprecht, seiya

Differential Revision: https://reviews.llvm.org/D68575

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374941 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-readobj/Inputs/xcoff-reloc-overflow.o [new file with mode: 0644]
test/tools/llvm-readobj/xcoff-overflow-section.test [new file with mode: 0644]
tools/llvm-readobj/XCOFFDumper.cpp