summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCELFStreamer.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-06-22 20:14:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-06-22 20:14:46 +0000
commitf5bd6c651035fa6123e6fa044de6c9029d19c18d (patch)
tree02aecebcae1d81be1c5480a6f05b9f33768894eb /llvm/lib/MC/MCELFStreamer.cpp
parent48828bb402974dd9560b1b0c3c9eb01cc0ce8551 (diff)
downloadbcm5719-llvm-f5bd6c651035fa6123e6fa044de6c9029d19c18d.tar.gz
bcm5719-llvm-f5bd6c651035fa6123e6fa044de6c9029d19c18d.zip
EmitZerofill should take a 64-bit size or else it's chopping off large zero-filled global. rdar://11729134
llvm-svn: 159023
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCELFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp
index 6ac9d9d51cb..2d342dccfe2 100644
--- a/llvm/lib/MC/MCELFStreamer.cpp
+++ b/llvm/lib/MC/MCELFStreamer.cpp
@@ -91,7 +91,7 @@ public:
unsigned ByteAlignment);
virtual void EmitZerofill(const MCSection *Section, MCSymbol *Symbol = 0,
- unsigned Size = 0, unsigned ByteAlignment = 0) {
+ uint64_t Size = 0, unsigned ByteAlignment = 0) {
llvm_unreachable("ELF doesn't support this directive");
}
virtual void EmitTBSSSymbol(const MCSection *Section, MCSymbol *Symbol,
OpenPOWER on IntegriCloud