diff options
| author | Gabor Greif <ggreif@gmail.com> | 2007-07-04 21:55:50 +0000 |
|---|---|---|
| committer | Gabor Greif <ggreif@gmail.com> | 2007-07-04 21:55:50 +0000 |
| commit | 0e535c3c8e9e336c52cbad3712368701b94eaebb (patch) | |
| tree | 0c6ede8cddbd3775e5b3f301c1b80a183500ba45 /llvm/tools/bugpoint/CrashDebugger.cpp | |
| parent | 3d7008cd49b64ba49f1bf15f09e31c526fc27604 (diff) | |
| download | bcm5719-llvm-0e535c3c8e9e336c52cbad3712368701b94eaebb.tar.gz bcm5719-llvm-0e535c3c8e9e336c52cbad3712368701b94eaebb.zip | |
Pretty straightforward replacement of "bytecode" by "bitcode"
performed on tools/ first, in order not to cause lethal damage
llvm-svn: 37877
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
| -rw-r--r-- | llvm/tools/bugpoint/CrashDebugger.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp index 723134856dd..dac85386620 100644 --- a/llvm/tools/bugpoint/CrashDebugger.cpp +++ b/llvm/tools/bugpoint/CrashDebugger.cpp @@ -70,7 +70,7 @@ ReducePassList::doTest(std::vector<const PassInfo*> &Prefix, BD.Program = ParseInputFile(PrefixOutput.toString()); if (BD.Program == 0) { - std::cerr << BD.getToolName() << ": Error reading bytecode file '" + std::cerr << BD.getToolName() << ": Error reading bitcode file '" << PrefixOutput << "'!\n"; exit(1); } @@ -396,7 +396,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) { ReduceCrashingGlobalVariables(BD, TestFn).reduceList(GVs); if (GVs.size() < OldSize) - BD.EmitProgressBytecode("reduced-global-variables"); + BD.EmitProgressBitcode("reduced-global-variables"); } } } @@ -417,7 +417,7 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) { ReduceCrashingFunctions(BD, TestFn).reduceList(Functions); if (Functions.size() < OldSize) - BD.EmitProgressBytecode("reduced-function"); + BD.EmitProgressBitcode("reduced-function"); } // Attempt to delete entire basic blocks at a time to speed up @@ -508,7 +508,7 @@ ExitLoops: } } - BD.EmitProgressBytecode("reduced-simplified"); + BD.EmitProgressBitcode("reduced-simplified"); return false; } @@ -532,7 +532,7 @@ bool BugDriver::debugOptimizerCrash(const std::string &ID) { << (PassesToRun.size() == 1 ? ": " : "es: ") << getPassesString(PassesToRun) << '\n'; - EmitProgressBytecode(ID); + EmitProgressBitcode(ID); return DebugACrash(*this, TestForOptimizerCrash); } |

