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
This commit is contained in:
Matthijs Kooijman 2008-06-12 13:09:43 +00:00
parent fbea227f41
commit ad6996d74f

View File

@ -164,7 +164,10 @@ bool BugDriver::initializeExecutionEnvironment() {
Message = "Sorry, this back-end is not supported by bugpoint right now!\n";
break;
}
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) {