mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
* Convert "\n" -> '\n'
* Print out another '\n' after printing out program execution status * Make sure code wraps at 80 cols git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -329,7 +329,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) {
|
||||
do {
|
||||
--Simplification;
|
||||
std::cout << "\n*** Attempting to reduce testcase by deleting instruc"
|
||||
<< "tions: Simplification Level #" << Simplification << "\n";
|
||||
<< "tions: Simplification Level #" << Simplification << '\n';
|
||||
|
||||
// Now that we have deleted the functions that are unnecessary for the
|
||||
// program, try to remove instructions that are not necessary to cause the
|
||||
@@ -416,7 +416,7 @@ bool BugDriver::debugOptimizerCrash() {
|
||||
|
||||
std::cout << "\n*** Found crashing pass"
|
||||
<< (PassesToRun.size() == 1 ? ": " : "es: ")
|
||||
<< getPassesString(PassesToRun) << "\n";
|
||||
<< getPassesString(PassesToRun) << '\n';
|
||||
|
||||
EmitProgressBytecode("passinput");
|
||||
|
||||
@@ -425,8 +425,9 @@ bool BugDriver::debugOptimizerCrash() {
|
||||
|
||||
static bool TestForCodeGenCrash(BugDriver &BD, Module *M) {
|
||||
try {
|
||||
std::cerr << "\n";
|
||||
std::cerr << '\n';
|
||||
BD.compileProgram(M);
|
||||
std::cerr << '\n';
|
||||
return false;
|
||||
} catch (ToolExecutionError &TEE) {
|
||||
std::cerr << "<crash>\n";
|
||||
|
||||
Reference in New Issue
Block a user