mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
ad8c531e20
commit
cbb7ec7396
@ -403,7 +403,7 @@ LTO::optimizeModules(const std::string &OutputFilename,
|
||||
TempDir.eraseFromDisk(true);
|
||||
return LTO_WRITE_FAILURE;
|
||||
}
|
||||
if (tmpAsmFilePath.createTemporaryFileOnDisk(&ErrMsg)) {
|
||||
if (tmpAsmFilePath.createTemporaryFileOnDisk(true, &ErrMsg)) {
|
||||
cerr << "lto: " << ErrMsg << "\n";
|
||||
TempDir.eraseFromDisk(true);
|
||||
return LTO_WRITE_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user