mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[bugpoint] set Message after tool configuration
Set the message returned after the GCC runner has been constructed as otherwise the message will be overwritten by the construction of the runner, resulting in misleading messages. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> Reviewed-by: Chandler Carruth <chandlerc@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173359 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5a80c7358
commit
78d3097263
@ -531,12 +531,12 @@ LLC *AbstractInterpreter::createLLC(const char *Argv0,
|
||||
return 0;
|
||||
}
|
||||
|
||||
Message = "Found llc: " + LLCPath + "\n";
|
||||
GCC *gcc = GCC::create(Message, GCCBinary, GCCArgs);
|
||||
if (!gcc) {
|
||||
errs() << Message << "\n";
|
||||
exit(1);
|
||||
}
|
||||
Message = "Found llc: " + LLCPath + "\n";
|
||||
return new LLC(LLCPath, gcc, Args, UseIntegratedAssembler);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user