mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Fix a sys::Path API error caught by a gcc 4.2 warning.
llvm-svn: 39995
This commit is contained in:
parent
fe26fdfeaf
commit
5918628eba
@ -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