diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-12 13:09:43 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-12 13:09:43 +0000 |
commit | fa2277be9a0de347e7c15ab4d029c0c17ef97e0d (patch) | |
tree | e19e147df56b0212f6b053dafa8a7d763d1b7c83 /tools/bugpoint | |
parent | 5fea5854e7798a9b0765aa37f20b41fe385a9e74 (diff) | |
download | external_llvm-fa2277be9a0de347e7c15ab4d029c0c17ef97e0d.zip external_llvm-fa2277be9a0de347e7c15ab4d029c0c17ef97e0d.tar.gz external_llvm-fa2277be9a0de347e7c15ab4d029c0c17ef97e0d.tar.bz2 |
Let bugpoint display generated messages on stderr only if no interpreter was
found, this ensures that messages like "Found gcc" end up on stdout where they
belong.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r-- | tools/bugpoint/ExecutionDriver.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index 49480ef..9634111 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -164,7 +164,10 @@ bool BugDriver::initializeExecutionEnvironment() { Message = "Sorry, this back-end is not supported by bugpoint right now!\n"; break; } - std::cerr << Message; + if (!Interpreter) + std::cerr << Message; + else // Display informational messages on stdout instead of stderr + std::cout << Message; // Initialize auxiliary tools for debugging if (InterpreterSel == RunCBE) { |