[XCOFF]implement parsing relocation information for 32-bit xcoff object file
authorDigger Lin <digger.llvm@gmail.com>
Tue, 15 Oct 2019 20:42:11 +0000 (20:42 +0000)
committerDigger Lin <digger.llvm@gmail.com>
Tue, 15 Oct 2019 20:42:11 +0000 (20:42 +0000)
commit34d4bff3d6d7cc521b06679536b0273c00bb0b3b
tree25c47e9c9bf119c3f5583f3e87501a9ff8a0b899
parent4f2f9c00b978e45a0bb4c229912359e84ad6af11
[XCOFF]implement parsing relocation information for 32-bit xcoff object file

Summary:
    Parsing the relocation entry information for 32-bit xcoff object file
including deal with the relocation overflow.

Reviewers: hubert.reinterpretcast, jasonliu, sfertile, xingxue.

Subscribers: hiraditya, rupprecht, seiya

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

llvm-svn: 374946
llvm/include/llvm/BinaryFormat/XCOFF.h
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/lib/Object/XCOFFObjectFile.cpp
llvm/test/tools/llvm-readobj/reloc_overflow.test [new file with mode: 0644]
llvm/test/tools/llvm-readobj/xcoff-basic.test
llvm/tools/llvm-readobj/XCOFFDumper.cpp