diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-14 22:14:34 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-04-14 22:14:34 +0000 |
| commit | 5560a4cfbd6c4c8632f9b7662aa9fe477bbc7374 (patch) | |
| tree | d3b890827e5e766e80c1844b8e043e4b4aab074d /llvm/lib/LTO | |
| parent | 931b107364adbad262b696ee2b50a100f7c2f6e9 (diff) | |
| download | bcm5719-llvm-5560a4cfbd6c4c8632f9b7662aa9fe477bbc7374.tar.gz bcm5719-llvm-5560a4cfbd6c4c8632f9b7662aa9fe477bbc7374.zip | |
Use raw_pwrite_stream in the object writer/streamer.
The ELF object writer will take advantage of that in the next commit.
llvm-svn: 234950
Diffstat (limited to 'llvm/lib/LTO')
| -rw-r--r-- | llvm/lib/LTO/LTOCodeGenerator.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOCodeGenerator.cpp b/llvm/lib/LTO/LTOCodeGenerator.cpp index 345b2246388..6745c570754 100644 --- a/llvm/lib/LTO/LTOCodeGenerator.cpp +++ b/llvm/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; |

