diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2013-01-24 16:49:12 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2013-01-24 16:49:12 +0000 |
commit | ab4d7bc0879e0220fbb3cb011c1c71cdee42319c (patch) | |
tree | 79fa0fc51c525b854b4993ab2d377597089662b4 /llvm/tools | |
parent | 99315932997a23aa5132d041b8a241d9ec0e8745 (diff) | |
download | bcm5719-llvm-ab4d7bc0879e0220fbb3cb011c1c71cdee42319c.tar.gz bcm5719-llvm-ab4d7bc0879e0220fbb3cb011c1c71cdee42319c.zip |
[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>
llvm-svn: 173359
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/bugpoint/ToolRunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp index e7d3978e26e..735061d8bc0 100644 --- a/llvm/tools/bugpoint/ToolRunner.cpp +++ b/llvm/tools/bugpoint/ToolRunner.cpp @@ -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); } |