llvm.org GIT mirror llvm / b99ddea
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334231 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
786786 if (TaskID > 0)
787787 NewFilename += utostr(TaskID);
788788 std::error_code EC =
789 sys::fs::openFileForWrite(NewFilename, FD, sys::fs::F_None);
789 sys::fs::openFileForWrite(NewFilename, FD, sys::fs::CD_CreateAlways);
790790 if (EC)
791791 message(LDPL_FATAL, "Could not open file %s: %s", NewFilename.c_str(),
792792 EC.message().c_str());