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:
61b91bc
)
Global variables are now external if they don't have initializers, not
author
Chris Lattner
<sabre@nondot.org>
Sun, 6 Oct 2002 22:48:09 +0000
(22:48 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 6 Oct 2002 22:48:09 +0000
(22:48 +0000)
"uninitialized"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4052
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 8c7b06ba0f17f264409a724303051e88e1dc959f..f43fda9087d0acbc658a8f5a8da3db4b50f1add5 100644
(file)
--- 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());