aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode/Reader/ReaderInternals.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-15 17:55:01 +0000
committerChris Lattner <sabre@nondot.org>2004-01-15 17:55:01 +0000
commit44d0eebc1371b431396a84153159b326c7d4e1f9 (patch)
tree2c0bdf8b3e92f60675b198a1ca28d1ce66909f04 /lib/Bytecode/Reader/ReaderInternals.h
parent570fb1cbd83eaddce4e14bfe2c26d43bd859c993 (diff)
Fix PR73
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Reader/ReaderInternals.h')
-rw-r--r--lib/Bytecode/Reader/ReaderInternals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Bytecode/Reader/ReaderInternals.h b/lib/Bytecode/Reader/ReaderInternals.h
index deb120672a..d6a934da07 100644
--- a/lib/Bytecode/Reader/ReaderInternals.h
+++ b/lib/Bytecode/Reader/ReaderInternals.h
@@ -97,6 +97,10 @@ private:
bool usesOldStyleVarargs; // Does this module USE old style varargs?
+ // LLVM 1.0 & 1.1 had an explicit alignment of data only for the
+ // ModuleGlobalInfo block. This was fixed to be like all other blocks in 1.2
+ bool hasInconsistentModuleGlobalInfo;
+
typedef std::vector<ValueList*> ValueTable;
ValueTable Values;
ValueTable ModuleValues;