projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b475c42
)
Fix reading LLVM 1.3 bc files.
author
Chris Lattner
<sabre@nondot.org>
Sat, 12 Nov 2005 18:31:54 +0000
(18:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 12 Nov 2005 18:31:54 +0000
(18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24329
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/Reader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/Reader.cpp
b/lib/Bytecode/Reader/Reader.cpp
index 645a01b0603f50e00e18b4239d753c880ec4cc85..c97b9a824c8614519f3048e230c85351b014d1cd 100644
(file)
--- a/
lib/Bytecode/Reader/Reader.cpp
+++ b/
lib/Bytecode/Reader/Reader.cpp
@@
-2052,7
+2052,7
@@
void BytecodeReader::ParseModuleGlobalInfo() {
if (Handler)
Handler->handleTargetTriple(triple);
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--)
// If the file has section info in it, read the section names now.
unsigned NumSections = read_vbr_uint();
while (NumSections--)