mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
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:
parent
b475c42314
commit
39979ea43f
@ -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--)
|
||||
|
Loading…
x
Reference in New Issue
Block a user