From: Michael Gottesman Date: Mon, 14 Oct 2013 22:36:51 +0000 (+0000) Subject: Update comment list of GLOBALVAR modifiers in BitcodeWriter to include externally_ini... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=611ee2ace99d6ce6d450ce90d91b0e4d1ace74df;p=oota-llvm.git 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 --- diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 46eff4e634f..b082ba6bfd2 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 :