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
/
LTO
/
LTOCodeGenerator.cpp
diff --git
a/lib/LTO/LTOCodeGenerator.cpp
b/lib/LTO/LTOCodeGenerator.cpp
index 345b22463889d6626f65699634c6d365e87bdb03..6745c5707545d4db5a43037ee89fd08c8942ce4f 100644
(file)
--- a/
lib/LTO/LTOCodeGenerator.cpp
+++ b/
lib/LTO/LTOCodeGenerator.cpp
@@
-566,7
+566,8
@@
bool LTOCodeGenerator::optimize(bool DisableInline,
return true;
}
-bool LTOCodeGenerator::compileOptimized(raw_ostream &out, std::string &errMsg) {
+bool LTOCodeGenerator::compileOptimized(raw_pwrite_stream &out,
+ std::string &errMsg) {
if (!this->determineTarget(errMsg))
return false;