[llvm] r192637 - Update comment list of GLOBALVAR modifiers in BitcodeWriter to include externally_initialized.
Michael Gottesman
mgottesman at apple.com
Mon Oct 14 15:36:51 PDT 2013
Author: mgottesman
Date: Mon Oct 14 17:36:51 2013
New Revision: 192637
URL: http://llvm.org/viewvc/llvm-project?rev=192637&view=rev
Log:
Update comment list of GLOBALVAR modifiers in BitcodeWriter to include externally_initialized.
Thanks to Shuxin Yang for catching this.
Modified:
llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
Modified: llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp?rev=192637&r1=192636&r2=192637&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (original)
+++ llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp Mon Oct 14 17:36:51 2013
@@ -606,7 +606,7 @@ static void WriteModuleInfo(const Module
// 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 :
More information about the llvm-commits
mailing list