aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
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/BitcodeWriter.cpp
parent778dba1dd85633955f246932f84c905cb27b1927 (diff)
downloadllvm-53c885c37a41c76ac4cf3ff3233a53b243f8f4e9.zip
llvm-53c885c37a41c76ac4cf3ff3233a53b243f8f4e9.tar.gz
llvm-53c885c37a41c76ac4cf3ff3233a53b243f8f4e9.tar.bz2
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/BitcodeWriter.cpp')
-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 46eff4e..b082ba6 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 :