diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-22 20:02:09 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-22 20:02:09 +0000 |
commit | 324e9e06d8dacde2f9e994cc6c3bf99d66a13d00 (patch) | |
tree | 98e98262722d4271f7a92a25cbe51d2e7b5c39ec /llvm/tools/bugpoint/Miscompilation.cpp | |
parent | c27302c79fd781c11cacc01fffc43427208a5fe9 (diff) | |
download | bcm5719-llvm-324e9e06d8dacde2f9e994cc6c3bf99d66a13d00.tar.gz bcm5719-llvm-324e9e06d8dacde2f9e994cc6c3bf99d66a13d00.zip |
Add a space before result for readability on the command line.
llvm-svn: 13109
Diffstat (limited to 'llvm/tools/bugpoint/Miscompilation.cpp')
-rw-r--r-- | llvm/tools/bugpoint/Miscompilation.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/tools/bugpoint/Miscompilation.cpp b/llvm/tools/bugpoint/Miscompilation.cpp index f77f5fd458f..cda0098f887 100644 --- a/llvm/tools/bugpoint/Miscompilation.cpp +++ b/llvm/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; } |