mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
Make ToolExecutionError inherit std::exception and implement its
interface: getMessage() is gone, use what() instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -159,7 +159,7 @@ bool BugDriver::run() {
|
||||
CreatedOutput = true;
|
||||
std::cout << "Reference output is: " << ReferenceOutputFile << "\n";
|
||||
} catch (ToolExecutionError &TEE) {
|
||||
std::cerr << TEE.getMessage();
|
||||
std::cerr << TEE.what();
|
||||
if (Interpreter != cbe) {
|
||||
std::cerr << "*** There is a bug running the C backend. Either debug"
|
||||
<< " it (use the -run-cbe bugpoint option), or fix the error"
|
||||
@@ -183,7 +183,7 @@ bool BugDriver::run() {
|
||||
return debugMiscompilation();
|
||||
}
|
||||
} catch (ToolExecutionError &TEE) {
|
||||
std::cerr << TEE.getMessage();
|
||||
std::cerr << TEE.what();
|
||||
return debugCodeGeneratorCrash();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user