summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-10-14 22:36:51 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-10-14 22:36:51 +0000
commit53c885c37a41c76ac4cf3ff3233a53b243f8f4e9 (patch)
tree8f815fff3da7a8cbe75d8a6f3a8753253f9b2807 /llvm/lib/Bitcode/Writer
parent778dba1dd85633955f246932f84c905cb27b1927 (diff)
downloadbcm5719-llvm-53c885c37a41c76ac4cf3ff3233a53b243f8f4e9.tar.gz
bcm5719-llvm-53c885c37a41c76ac4cf3ff3233a53b243f8f4e9.zip
Update comment list of GLOBALVAR modifiers in BitcodeWriter to include externally_initialized.
Thanks to Shuxin Yang for catching this. llvm-svn: 192637
Diffstat (limited to 'llvm/lib/Bitcode/Writer')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 46eff4e634f..b082ba6bfd2 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -606,7 +606,7 @@ static void WriteModuleInfo(const Module *M, const ValueEnumerator &VE,
// GLOBALVAR: [type, isconst, initid,
// linkage, alignment, section, visibility, threadlocal,
- // unnamed_addr]
+ // unnamed_addr, externally_initialized]
Vals.push_back(VE.getTypeID(GV->getType()));
Vals.push_back(GV->isConstant());
Vals.push_back(GV->isDeclaration() ? 0 :
OpenPOWER on IntegriCloud