aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-04-22 20:02:09 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-04-22 20:02:09 +0000
commit123f8fec94d1f22d876382897231868c62f8eabb (patch)
tree7acb12f2e2ec3e5efbf3b4c7a842497c8ea62ef8
parentb4782d13d1444d9d18c0a681292cf0d0a32cf3ef (diff)
Add a space before result for readability on the command line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13109 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/bugpoint/Miscompilation.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index f77f5fd458..cda0098f88 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -64,10 +64,10 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix,
// Check to see if the finished program matches the reference output...
if (BD.diffProgram(BytecodeResult, "", true /*delete bytecode*/)) {
- std::cout << "nope.\n";
- return KeepSuffix; // Miscompilation detected!
+ std::cout << " nope.\n";
+ return KeepSuffix; // Miscompilation detected!
}
- std::cout << "yup.\n"; // No miscompilation!
+ std::cout << " yup.\n"; // No miscompilation!
if (Prefix.empty()) return NoFailure;
@@ -92,11 +92,11 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix,
// If the prefix maintains the predicate by itself, only keep the prefix!
if (BD.diffProgram(BytecodeResult)) {
- std::cout << "nope.\n";
+ std::cout << " nope.\n";
removeFile(BytecodeResult);
return KeepPrefix;
}
- std::cout << "yup.\n"; // No miscompilation!
+ std::cout << " yup.\n"; // No miscompilation!
// Ok, so now we know that the prefix passes work, try running the suffix
// passes on the result of the prefix passes.
@@ -124,13 +124,13 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix,
// Run the result...
if (BD.diffProgram(BytecodeResult, "", true/*delete bytecode*/)) {
- std::cout << "nope.\n";
+ std::cout << " nope.\n";
delete OriginalInput; // We pruned down the original input...
return KeepSuffix;
}
// Otherwise, we must not be running the bad pass anymore.
- std::cout << "yup.\n"; // No miscompilation!
+ std::cout << " yup.\n"; // No miscompilation!
delete BD.swapProgramIn(OriginalInput); // Restore orig program & free test
return NoFailure;
}