mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Fix a problem in the the last patch that subverts error message printing.
llvm-svn: 31466
This commit is contained in:
parent
baea895c4e
commit
f508606997
@ -499,7 +499,7 @@ int main(int argc, char **argv, char **envp) {
|
||||
// Get the program arguments
|
||||
sys::Path tmp_output("opt_result");
|
||||
std::string ErrMsg;
|
||||
if (tmp_output.createTemporaryFileOnDisk(true)) {
|
||||
if (tmp_output.createTemporaryFileOnDisk(true, &ErrMsg)) {
|
||||
return PrintAndReturn(ErrMsg);
|
||||
}
|
||||
const char* args[4];
|
||||
|
Loading…
Reference in New Issue
Block a user