diff options
Diffstat (limited to 'tools/lto/LTOCodeGenerator.cpp')
-rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index f76168e..36be523 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -178,9 +178,8 @@ const void* LTOCodeGenerator::compile(size_t* length, std::string& errMsg) // generate assembly code bool genResult = false; { - raw_fd_ostream asmFD(uniqueAsmPath.c_str(), - /*Binary=*/false, /*Force=*/true, - errMsg); + raw_fd_ostream asmFD(uniqueAsmPath.c_str(), errMsg, + raw_fd_ostream::F_Force); formatted_raw_ostream asmFile(asmFD); if (!errMsg.empty()) return NULL; |