[llvm-commits] [llvm] r75452 - /llvm/trunk/lib/Archive/Archive.cpp
Daniel Dunbar
daniel at zuster.org
Sun Jul 12 22:29:34 PDT 2009
Author: ddunbar
Date: Mon Jul 13 00:29:34 2009
New Revision: 75452
URL: http://llvm.org/viewvc/llvm-project?rev=75452&view=rev
Log:
Fix some non-sensical code.
- This makes it more like other similar code in Archive handling.
Modified:
llvm/trunk/lib/Archive/Archive.cpp
Modified: llvm/trunk/lib/Archive/Archive.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Archive/Archive.cpp?rev=75452&r1=75451&r2=75452&view=diff
==============================================================================
--- llvm/trunk/lib/Archive/Archive.cpp (original)
+++ llvm/trunk/lib/Archive/Archive.cpp Mon Jul 13 00:29:34 2009
@@ -126,8 +126,11 @@
return true;
}
- // Determine what kind of file it is
+ // Determine what kind of file it is.
switch (sys::IdentifyFileType(signature,4)) {
+ case sys::Bitcode_FileType:
+ flags |= BitcodeFlag;
+ break;
default:
flags &= ~BitcodeFlag;
break;
More information about the llvm-commits
mailing list