diff options
author | Yusra Syeda <yusra.syeda@ibm.com> | 2023-07-05 13:21:52 -0400 |
---|---|---|
committer | Yusra Syeda <yusra.syeda@ibm.com> | 2023-07-05 13:21:52 -0400 |
commit | 163aad6bcbff6ee2935e24945ddef9719142aff0 (patch) | |
tree | d0e0652f99415a29997196abc645caa16e9b7cec /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | e1cb5924cb31b5fd40197444edb17d757408e8ba (diff) | |
download | llvm-163aad6bcbff6ee2935e24945ddef9719142aff0.zip llvm-163aad6bcbff6ee2935e24945ddef9719142aff0.tar.gz llvm-163aad6bcbff6ee2935e24945ddef9719142aff0.tar.bz2 |
[SystemZ][z/OS] z/OS ADA codegen and emission
This patch adds support for the ADA (associated data area), doing the following:
-Creates the ADA table to handle displacements
-Emits the ADA section in the SystemZAsmPrinter
-Lowers the ADA_ENTRY node into the appropriate load instruction
Differential Revision: https://reviews.llvm.org/D153788
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
-rw-r--r-- | llvm/lib/MC/MCObjectFileInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp index 9fceaa2..df2085e 100644 --- a/llvm/lib/MC/MCObjectFileInfo.cpp +++ b/llvm/lib/MC/MCObjectFileInfo.cpp @@ -542,6 +542,8 @@ void MCObjectFileInfo::initGOFFMCObjectFileInfo(const Triple &T) { PPA1Section = Ctx->getGOFFSection(".ppa1", SectionKind::getMetadata(), TextSection, MCConstantExpr::create(GOFF::SK_PPA1, *Ctx)); + ADASection = + Ctx->getGOFFSection(".ada", SectionKind::getData(), nullptr, nullptr); } void MCObjectFileInfo::initCOFFMCObjectFileInfo(const Triple &T) { |