Fix reading LLVM 1.3 bc files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24329 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-12 18:31:54 +00:00
parent b475c42314
commit 39979ea43f

View File

@ -2052,7 +2052,7 @@ void BytecodeReader::ParseModuleGlobalInfo() {
if (Handler)
Handler->handleTargetTriple(triple);
if (At != BlockEnd) {
if (At != BlockEnd && !hasAlignment) {
// If the file has section info in it, read the section names now.
unsigned NumSections = read_vbr_uint();
while (NumSections--)