[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ArchiveReader.cpp
John Criswell
criswell at cs.uiuc.edu
Tue Nov 9 11:37:22 PST 2004
Changes in directory llvm/lib/Bytecode/Reader:
ArchiveReader.cpp updated: 1.19 -> 1.20
---
Log message:
Recognize compressed LLVM bytecode files.
This should fix the problem of not being able to link compressed LLVM
bytecode files from LLVM libraries.
---
Diffs of the changes: (+3 -0)
Index: llvm/lib/Bytecode/Reader/ArchiveReader.cpp
diff -u llvm/lib/Bytecode/Reader/ArchiveReader.cpp:1.19 llvm/lib/Bytecode/Reader/ArchiveReader.cpp:1.20
--- llvm/lib/Bytecode/Reader/ArchiveReader.cpp:1.19 Wed Sep 1 17:55:35 2004
+++ llvm/lib/Bytecode/Reader/ArchiveReader.cpp Tue Nov 9 13:37:07 2004
@@ -58,6 +58,9 @@
if (Size >= 4 && !memcmp(MemberData, "llvm", 4))
return UserObject;
+ if (Size >= 4 && !memcmp(MemberData, "llvc", 4))
+ return UserObject;
+
return Unknown;
}
More information about the llvm-commits
mailing list