llvm.org GIT mirror llvm / cbb7ec7
Fix a sys::Path API error caught by a gcc 4.2 warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39995 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
402402 TempDir.eraseFromDisk(true);
403403 return LTO_WRITE_FAILURE;
404404 }
405 if (tmpAsmFilePath.createTemporaryFileOnDisk(&ErrMsg)) {
405 if (tmpAsmFilePath.createTemporaryFileOnDisk(true, &ErrMsg)) {
406406 cerr << "lto: " << ErrMsg << "\n";
407407 TempDir.eraseFromDisk(true);
408408 return LTO_WRITE_FAILURE;