summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2017-11-15 06:17:32 +0000
committerFangrui Song <maskray@google.com>2017-11-15 06:17:32 +0000
commite73534464d259d45fbb4717009d692bd7d6329d7 (patch)
tree0e880295921767f6e72d999d259a1859408ae7e6 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent0dadfe30d2cd918b29c4e27bea499f65fcccadd7 (diff)
downloadbcm5719-llvm-e73534464d259d45fbb4717009d692bd7d6329d7.tar.gz
bcm5719-llvm-e73534464d259d45fbb4717009d692bd7d6329d7.zip
NFC Remove default argument of DataLayout::getPointerABIAlignment
Differential Revision: https://reviews.llvm.org/D40005 llvm-svn: 318272
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index f23e41b8bb4..d82e78a55cd 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -134,7 +134,7 @@ void TargetLoweringObjectFileELF::emitPersonalityValue(
ELF::SHT_PROGBITS, Flags, 0);
unsigned Size = DL.getPointerSize();
Streamer.SwitchSection(Sec);
- Streamer.EmitValueToAlignment(DL.getPointerABIAlignment());
+ Streamer.EmitValueToAlignment(DL.getPointerABIAlignment(0));
Streamer.EmitSymbolAttribute(Label, MCSA_ELF_TypeObject);
const MCExpr *E = MCConstantExpr::create(Size, getContext());
Streamer.emitELFSize(Label, E);
OpenPOWER on IntegriCloud