]> granicus.if.org Git - llvm/commit
[PowerPC][AIX] Adds support for writing the .data section in assembly files
authorXing Xue <xingxue@outlook.com>
Sun, 25 Aug 2019 15:17:25 +0000 (15:17 +0000)
committerXing Xue <xingxue@outlook.com>
Sun, 25 Aug 2019 15:17:25 +0000 (15:17 +0000)
commit325fca633f46f65b88bcbff23feb8e87d545f0cc
tree98473d74fd3d589d400f6f5e57e79811df8eb60b
parentd55ea9f2a73e1e933934c2216d96d8423b1a0379
[PowerPC][AIX] Adds support for writing the .data section in assembly files

Summary:
Adds support for generating the .data section in assembly files for global variables with a non-zero initialization. The support for writing the .data section in XCOFF object files will be added in a follow-on patch. Any relocations are not included in this patch.

Reviewers: hubert.reinterpretcast, sfertile, jasonliu, daltenty, Xiangling_L

Reviewed by: hubert.reinterpretcast

Subscribers: nemanjai, hiraditya, kbarton, MaskRay, jsji, wuzish, shchenz, DiggerLin, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369869 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/AsmPrinter.h
include/llvm/MC/MCAsmInfo.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/MC/MCAsmInfoXCOFF.cpp
lib/MC/MCAsmStreamer.cpp
lib/MC/MCObjectFileInfo.cpp
lib/MC/MCSectionXCOFF.cpp
lib/Target/PowerPC/PPCAsmPrinter.cpp
test/CodeGen/PowerPC/aix-xcoff-data.ll [new file with mode: 0644]