summaryrefslogtreecommitdiff
path: root/lib/Bitcode
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
commit611ee2ace99d6ce6d450ce90d91b0e4d1ace74df (patch)
treead08be557a7f1295229f211d55a943025bcc9df8 /lib/Bitcode
parent41d6f451a50fa669fa3f71acc741de3c35f4bb40 (diff)
downloadllvm-611ee2ace99d6ce6d450ce90d91b0e4d1ace74df.tar.gz
llvm-611ee2ace99d6ce6d450ce90d91b0e4d1ace74df.tar.bz2
llvm-611ee2ace99d6ce6d450ce90d91b0e4d1ace74df.tar.xz
Update comment list of GLOBALVAR modifiers in BitcodeWriter to include externally_initialized.
Thanks to Shuxin Yang for catching this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 46eff4e634..b082ba6bfd 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/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 :