projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca5b752
)
... and it's probably best to use the correct alignment, rather than just guessing...
author
David Chisnall
<csdavec@swan.ac.uk>
Fri, 17 Feb 2012 16:30:39 +0000
(16:30 +0000)
committer
David Chisnall
<csdavec@swan.ac.uk>
Fri, 17 Feb 2012 16:30:39 +0000
(16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150813
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
b/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 0f291af8fbd158dde5b70895695dfbcf83f9e890..273f6b61624c285437331cfe4f4d786740bdf78e 100644
(file)
--- a/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@
-79,7
+79,7
@@
void TargetLoweringObjectFileELF::emitPersonalityValue(MCStreamer &Streamer,
0, Label->getName());
unsigned Size = TM.getTargetData()->getPointerSize();
Streamer.SwitchSection(Sec);
- Streamer.EmitValueToAlignment(
Size
);
+ Streamer.EmitValueToAlignment(
TM.getTargetData()->getPointerABIAlignment()
);
Streamer.EmitSymbolAttribute(Label, MCSA_ELF_TypeObject);
const MCExpr *E = MCConstantExpr::Create(Size, getContext());
Streamer.EmitELFSize(Label, E);