aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lto/LTOCodeGenerator.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-11-13 05:01:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-11-13 05:01:07 +0000
commit8c009a31e74cd2d6f42a21a031e3a14c7882e833 (patch)
tree874f6b97b8075e6ab9ab5713e91dcacff7140c7b /tools/lto/LTOCodeGenerator.cpp
parent1bbd7adf4f513c58409a1a310270ada7bd0cfca2 (diff)
downloadexternal_llvm-8c009a31e74cd2d6f42a21a031e3a14c7882e833.zip
external_llvm-8c009a31e74cd2d6f42a21a031e3a14c7882e833.tar.gz
external_llvm-8c009a31e74cd2d6f42a21a031e3a14c7882e833.tar.bz2
Add Binary flag to raw_fd_ostream constructor.
Document raw_fd_ostream's treatment of "-". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59219 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/LTOCodeGenerator.cpp')
-rw-r--r--tools/lto/LTOCodeGenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index 0474a88..e0e1f52 100644
--- a/tools/lto/LTOCodeGenerator.cpp
+++ b/tools/lto/LTOCodeGenerator.cpp
@@ -165,7 +165,7 @@ const void* LTOCodeGenerator::compile(size_t* length, std::string& errMsg)
// generate assembly code
bool genResult = false;
{
- raw_fd_ostream asmFile(uniqueAsmPath.c_str(), errMsg);
+ raw_fd_ostream asmFile(uniqueAsmPath.c_str(), false, errMsg);
if (!errMsg.empty())
return NULL;
genResult = this->generateAssemblyCode(asmFile, errMsg);