aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint/CrashDebugger.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-07-23 01:30:49 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-07-23 01:30:49 +0000
commiteed80e23751ecc50c1fa5604f67be4b826d5b417 (patch)
tree6bc448441067a57c159e09397a613a1b9dd9b04c /tools/bugpoint/CrashDebugger.cpp
parent9accb24c897879f8e0f3f8ecf3389261a7924bc6 (diff)
downloadexternal_llvm-eed80e23751ecc50c1fa5604f67be4b826d5b417.zip
external_llvm-eed80e23751ecc50c1fa5604f67be4b826d5b417.tar.gz
external_llvm-eed80e23751ecc50c1fa5604f67be4b826d5b417.tar.bz2
* 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
Diffstat (limited to 'tools/bugpoint/CrashDebugger.cpp')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index 90e2edc..92aa996 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/tools/bugpoint/CrashDebugger.cpp
@@ -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";