Update comment list of GLOBALVAR modifiers in BitcodeWriter to include externally_ini...
authorMichael Gottesman <mgottesman@apple.com>
Mon, 14 Oct 2013 22:36:51 +0000 (22:36 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Mon, 14 Oct 2013 22:36:51 +0000 (22:36 +0000)
Thanks to Shuxin Yang for catching this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192637 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Writer/BitcodeWriter.cpp

index 46eff4e634f6605624b1889eeb17489c9f2a3713..b082ba6bfd274eb91688cb43342331d9e835c274 100644 (file)
@@ -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 :