forked from OSchip/llvm-project
Try to fix build.
I don't know how to build this code, but based on the failing buildbot error message it looks like this change should get the buildbot up and running again. llvm-svn: 334231
This commit is contained in:
parent
e0edcaa4a9
commit
2698640492
|
@ -787,7 +787,7 @@ static int getOutputFileName(StringRef InFilename, bool TempOutFile,
|
|||
if (TaskID > 0)
|
||||
NewFilename += utostr(TaskID);
|
||||
std::error_code EC =
|
||||
sys::fs::openFileForWrite(NewFilename, FD, sys::fs::F_None);
|
||||
sys::fs::openFileForWrite(NewFilename, FD, sys::fs::CD_CreateAlways);
|
||||
if (EC)
|
||||
message(LDPL_FATAL, "Could not open file %s: %s", NewFilename.c_str(),
|
||||
EC.message().c_str());
|
||||
|
|
Loading…
Reference in New Issue