* 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:
Misha Brukman
2004-07-23 01:30:49 +00:00
parent 9accb24c89
commit eed80e2375
5 changed files with 21 additions and 20 deletions
+4 -3
View File
@@ -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";