aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorYusra Syeda <yusra.syeda@ibm.com>2022-05-18 13:05:11 -0400
committerYusra Syeda <yusra.syeda@ibm.com>2022-05-18 14:13:17 -0400
commit5ac411aea802f5983b7979b9198ba7d8fb38f64d (patch)
tree66a27848b1d0177d17187d386f5ddb9f3cea5b50 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent4d8268fbf4cd30d39530622b7f1dc487122b4f3c (diff)
downloadllvm-5ac411aea802f5983b7979b9198ba7d8fb38f64d.zip
llvm-5ac411aea802f5983b7979b9198ba7d8fb38f64d.tar.gz
llvm-5ac411aea802f5983b7979b9198ba7d8fb38f64d.tar.bz2
[SystemZ][z/OS] Add the PPA1 to SystemZAsmPrinter
Differential Revision: https://reviews.llvm.org/D125725
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index d34ba6f..7e2dd15 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -2593,8 +2593,8 @@ MCSection *TargetLoweringObjectFileGOFF::SelectSectionForGlobal(
const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const {
auto *Symbol = TM.getSymbol(GO);
if (Kind.isBSS())
- return getContext().getGOFFSection(Symbol->getName(),
- SectionKind::getBSS());
+ return getContext().getGOFFSection(Symbol->getName(), SectionKind::getBSS(),
+ nullptr, nullptr);
return getContext().getObjectFileInfo()->getTextSection();
}