projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a wrapper for open.
[oota-llvm.git]
/
lib
/
Bitcode
/
Writer
/
BitWriter.cpp
diff --git
a/lib/Bitcode/Writer/BitWriter.cpp
b/lib/Bitcode/Writer/BitWriter.cpp
index 985208c40fdbf4a8c65cadbcbc7222375be53266..cd1ada22cfd6cffa4874c1440394b874d10ece63 100644
(file)
--- a/
lib/Bitcode/Writer/BitWriter.cpp
+++ b/
lib/Bitcode/Writer/BitWriter.cpp
@@
-18,7
+18,7
@@
using namespace llvm;
int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path) {
std::string ErrorInfo;
- raw_fd_ostream OS(Path, ErrorInfo,
raw_fd_ostream
::F_Binary);
+ raw_fd_ostream OS(Path, ErrorInfo,
sys::fs
::F_Binary);
if (!ErrorInfo.empty())
return -1;