summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-25 07:53:05 +0000
committerChris Lattner <sabre@nondot.org>2010-01-25 07:53:05 +0000
commit866a539f5f9fff350b8b8ff0652cca5af5a25e11 (patch)
treef9d42ca41937e6c29f6f2f0eaa51b8c7319d1794 /llvm/lib
parent91dac6d570bca39ab11bffb88613e4246171529a (diff)
downloadbcm5719-llvm-866a539f5f9fff350b8b8ff0652cca5af5a25e11.tar.gz
bcm5719-llvm-866a539f5f9fff350b8b8ff0652cca5af5a25e11.zip
add a comment
llvm-svn: 94417
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index eab2d9d6e48..ecf18dad6b3 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -275,6 +275,7 @@ void AsmPrinter::EmitGlobalVariable(const GlobalVariable *GV) {
EmitGlobalConstant(GV->getInitializer());
if (MAI->hasDotTypeDotSizeDirective())
+ // .size foo, 42
OutStreamer.EmitELFSize(GVSym, MCConstantExpr::Create(Size, OutContext));
OutStreamer.AddBlankLine();
OpenPOWER on IntegriCloud