mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 22:28:18 +00:00
Fix compile errors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -460,12 +460,12 @@ static ld_plugin_status all_symbols_read_hook(void) {
|
|||||||
return LDPS_ERR;
|
return LDPS_ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
objFile.write(buffer, bufsize);
|
objFile.os().write(buffer, bufsize);
|
||||||
objFile.close();
|
objFile.os().close();
|
||||||
if (objFile.has_error()) {
|
if (objFile.os().has_error()) {
|
||||||
(*message)(LDPL_ERROR, "Error writing output file '%s'",
|
(*message)(LDPL_ERROR, "Error writing output file '%s'",
|
||||||
uniqueObjPath.c_str());
|
uniqueObjPath.c_str());
|
||||||
objFile.clear_error();
|
objFile.os().clear_error();
|
||||||
return LDPS_ERR;
|
return LDPS_ERR;
|
||||||
}
|
}
|
||||||
objFile.keep();
|
objFile.keep();
|
||||||
|
Reference in New Issue
Block a user