projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use raw_pwrite_stream in the object writer/streamer.
[oota-llvm.git]
/
lib
/
Target
/
TargetMachineC.cpp
diff --git
a/lib/Target/TargetMachineC.cpp
b/lib/Target/TargetMachineC.cpp
index afba80f0f050754319599fa15dcae1f5179e59d4..1a5bf163bd9ff8c916c0b0e2bd052865baed87cd 100644
(file)
--- a/
lib/Target/TargetMachineC.cpp
+++ b/
lib/Target/TargetMachineC.cpp
@@
-183,7
+183,7
@@
void LLVMSetTargetMachineAsmVerbosity(LLVMTargetMachineRef T,
}
static LLVMBool LLVMTargetMachineEmit(LLVMTargetMachineRef T, LLVMModuleRef M,
- raw_
o
stream &OS,
+ raw_
pwrite_
stream &OS,
LLVMCodeGenFileType codegen,
char **ErrorMessage) {
TargetMachine* TM = unwrap(T);