Using crtp to refactor the xcoff section header
authordiggerlin <digger.llvm@gmail.com>
Thu, 7 Nov 2019 16:51:34 +0000 (11:51 -0500)
committerdiggerlin <digger.llvm@gmail.com>
Thu, 7 Nov 2019 16:51:34 +0000 (11:51 -0500)
commitc63c1a72dab96b0d090b2601eb1e7f40df2db534
tree91dedf130518cb04ba71df4938d6d981d856e100
parent44f43461c018e7fdc3b1cf3a7a41f52b1cb20a39
Using crtp to refactor the xcoff section header

SUMMARY:
According to https://reviews.llvm.org/D68575#inline-617586, Create a NFC patch for it.

Using crtp to refactor the xcoff section header
Move the define of SectionFlagsReservedMask and SectionFlagsTypeMask from XCOFFDumper.cpp to XCOFFObjectFile.h

Reviewers: hubert.reinterpretcast,jasonliu
Subscribers: rupprecht, seiyai,hiraditya

Differential Revision: https://reviews.llvm.org/D69131
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/lib/Object/XCOFFObjectFile.cpp
llvm/tools/llvm-readobj/XCOFFDumper.cpp