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:
a53902b
)
Fix some non-sensical code.
author
Daniel Dunbar
<daniel@zuster.org>
Mon, 13 Jul 2009 05:29:34 +0000
(
05:29
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Mon, 13 Jul 2009 05:29:34 +0000
(
05:29
+0000)
- This makes it more like other similar code in Archive handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75452
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Archive/Archive.cpp
patch
|
blob
|
history
diff --git
a/lib/Archive/Archive.cpp
b/lib/Archive/Archive.cpp
index bb5726293fe4bb287773c498b1cca08523c5ad17..7811b6cc57f631affc860cc5bc5ad33682fc9a6d 100644
(file)
--- a/
lib/Archive/Archive.cpp
+++ b/
lib/Archive/Archive.cpp
@@
-126,8
+126,11
@@
bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
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;