mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-15 09:51:00 +00:00
Fix reading LLVM 1.3 bc files.
llvm-svn: 24329
This commit is contained in:
parent
da1a853a49
commit
a8fcbe17d7
@ -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