mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Use errs() instead of std::cerr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75791 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -500,7 +500,7 @@ void CLIDebugger::breakCommand(std::string &Options) {
|
||||
if (File == 0)
|
||||
throw "Unknown file to place breakpoint!";
|
||||
|
||||
std::cerr << "Break: " << File->getFilename() << ":" << LineNo << "\n";
|
||||
errs() << "Break: " << File->getFilename() << ":" << LineNo << "\n";
|
||||
|
||||
throw "breakpoints not implemented yet!";
|
||||
}
|
||||
|
@ -94,9 +94,9 @@ int main(int argc, char **argv, char * const *envp) {
|
||||
// Now that we have initialized the debugger, run it.
|
||||
return D.run();
|
||||
} catch (const std::string& msg) {
|
||||
std::cerr << argv[0] << ": " << msg << "\n";
|
||||
errs() << argv[0] << ": " << msg << "\n";
|
||||
} catch (...) {
|
||||
std::cerr << argv[0] << ": Unexpected unknown exception occurred.\n";
|
||||
errs() << argv[0] << ": Unexpected unknown exception occurred.\n";
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user