mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-05 11:17:53 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user