mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix a problem in the the last patch that subverts error message printing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31466 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
daa98106b7
commit
7b28955c4c
@ -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