Stubs out TLOF for AIX and add support for common vars in assembly output.
authorSean Fertile <sfertile@ca.ibm.com>
Mon, 22 Jul 2019 19:15:29 +0000 (19:15 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Mon, 22 Jul 2019 19:15:29 +0000 (19:15 +0000)
commit942537d9fa5026bb4780edfec695fb5bf497d369
tree48f42cff722120e39192b9b15e8277a1b56295f6
parentf6cd6ffbc9f8bfa0bbe25dba6a9737607a684bab
Stubs out TLOF for AIX and add support for common vars in assembly output.

Stubs out a TargetLoweringObjectFileXCOFF class, implementing only
SelectSectionForGlobal for common symbols. Also adds an override of
EmitGlobalVariable in PPCAIXAsmPrinter which adds a number of defensive errors
and adds support for emitting common globals.

llvm-svn: 366727
12 files changed:
llvm/include/llvm/BinaryFormat/XCOFF.h
llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
llvm/include/llvm/MC/MCContext.h
llvm/include/llvm/MC/MCSectionXCOFF.h
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/MC/MCAsmInfoXCOFF.cpp
llvm/lib/MC/MCContext.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/lib/MC/MCSectionXCOFF.cpp
llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/test/CodeGen/PowerPC/aix-xcoff-common.ll [new file with mode: 0644]