diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-10-14 22:36:51 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-10-14 22:36:51 +0000 |
commit | 611ee2ace99d6ce6d450ce90d91b0e4d1ace74df (patch) | |
tree | ad08be557a7f1295229f211d55a943025bcc9df8 /lib | |
parent | 41d6f451a50fa669fa3f71acc741de3c35f4bb40 (diff) | |
download | external_llvm-611ee2ace99d6ce6d450ce90d91b0e4d1ace74df.zip external_llvm-611ee2ace99d6ce6d450ce90d91b0e4d1ace74df.tar.gz external_llvm-611ee2ace99d6ce6d450ce90d91b0e4d1ace74df.tar.bz2 |
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')
-rw-r--r-- | lib/Bitcode/Writer/BitcodeWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp index 46eff4e..b082ba6 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 : |