Boilerplate for producing XCOFF object files from the PowerPC backend.
authorSean Fertile <sfertile@ca.ibm.com>
Tue, 9 Jul 2019 19:21:01 +0000 (19:21 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Tue, 9 Jul 2019 19:21:01 +0000 (19:21 +0000)
commitf09d54ed2a75b62960b35258136435d7c8d418e1
tree5f727b7c433f9026cf64e6ec03d25e11d306994d
parent294f37561ab155e363be0fca5fa43528d8b29d18
Boilerplate for producing XCOFF object files from the PowerPC backend.

Stubs out a number of the classes needed to produce a new object file format
(XCOFF) for the powerpc-aix target. For testing input is an empty module which
produces an object file with just a file header.

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

llvm-svn: 365541
27 files changed:
llvm/include/llvm/BinaryFormat/XCOFF.h
llvm/include/llvm/MC/MCAsmInfoXCOFF.h [new file with mode: 0644]
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/include/llvm/MC/MCSection.h
llvm/include/llvm/MC/MCSectionXCOFF.h [new file with mode: 0644]
llvm/include/llvm/MC/MCXCOFFObjectWriter.h [new file with mode: 0644]
llvm/include/llvm/MC/MCXCOFFStreamer.h [new file with mode: 0644]
llvm/include/llvm/Support/TargetRegistry.h
llvm/lib/MC/CMakeLists.txt
llvm/lib/MC/MCAsmBackend.cpp
llvm/lib/MC/MCAsmInfoXCOFF.cpp [new file with mode: 0644]
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCSectionXCOFF.cpp [new file with mode: 0644]
llvm/lib/MC/MCXCOFFObjectTargetWriter.cpp [new file with mode: 0644]
llvm/lib/MC/MCXCOFFStreamer.cpp [new file with mode: 0644]
llvm/lib/MC/XCOFFObjectWriter.cpp [new file with mode: 0644]
llvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp [new file with mode: 0644]
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/test/CodeGen/PowerPC/aix-xcoff-basic.ll [new file with mode: 0644]