From 0c5e36211801f14d02d7fec1393bed450b68c79f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 6 Oct 2002 22:48:09 +0000 Subject: Global variables are now external if they don't have initializers, not "uninitialized" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4052 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/VMCore') diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 8c7b06b..f43fda9 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -541,7 +541,7 @@ void AssemblyWriter::printGlobal(const GlobalVariable *GV) { 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()); -- cgit v1.1