[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 6 17:49:01 PDT 2002
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.77 -> 1.78
---
Log message:
Global variables are now external if they don't have initializers, not
"uninitialized"
---
Diffs of the changes:
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.77 llvm/lib/VMCore/AsmWriter.cpp:1.78
--- llvm/lib/VMCore/AsmWriter.cpp:1.77 Wed Oct 2 14:38:55 2002
+++ llvm/lib/VMCore/AsmWriter.cpp Sun Oct 6 17:48:09 2002
@@ -541,7 +541,7 @@
if (GV->hasName()) Out << "%" << GV->getName() << " = ";
if (GV->hasInternalLinkage()) Out << "internal ";
- if (!GV->hasInitializer()) Out << "uninitialized ";
+ if (!GV->hasInitializer()) Out << "external ";
Out << (GV->isConstant() ? "constant " : "global ");
printType(GV->getType()->getElementType());
More information about the llvm-commits
mailing list