]> granicus.if.org Git - llvm/commit
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)
commitf9d2575fbe9d5924e61c5c1c75b564513348030d
tree475519d94b9c80f46be0e806fa77a419aa00ca1b
parent9cc48bab7740ffa5fa37af275aa9dfdc83987513
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365541 91177308-0d34-0410-b5e6-96231b3b80d8
27 files changed:
include/llvm/BinaryFormat/XCOFF.h
include/llvm/MC/MCAsmInfoXCOFF.h [new file with mode: 0644]
include/llvm/MC/MCContext.h
include/llvm/MC/MCObjectFileInfo.h
include/llvm/MC/MCSection.h
include/llvm/MC/MCSectionXCOFF.h [new file with mode: 0644]
include/llvm/MC/MCXCOFFObjectWriter.h [new file with mode: 0644]
include/llvm/MC/MCXCOFFStreamer.h [new file with mode: 0644]
include/llvm/Support/TargetRegistry.h
lib/MC/CMakeLists.txt
lib/MC/MCAsmBackend.cpp
lib/MC/MCAsmInfoXCOFF.cpp [new file with mode: 0644]
lib/MC/MCContext.cpp
lib/MC/MCObjectFileInfo.cpp
lib/MC/MCSectionXCOFF.cpp [new file with mode: 0644]
lib/MC/MCXCOFFObjectTargetWriter.cpp [new file with mode: 0644]
lib/MC/MCXCOFFStreamer.cpp [new file with mode: 0644]
lib/MC/XCOFFObjectWriter.cpp [new file with mode: 0644]
lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
lib/Target/PowerPC/MCTargetDesc/PPCXCOFFObjectWriter.cpp [new file with mode: 0644]
lib/Target/PowerPC/PPCAsmPrinter.cpp
test/CodeGen/PowerPC/aix-xcoff-basic.ll [new file with mode: 0644]