diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-02-18 21:02:04 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-02-18 21:02:04 +0000 |
| commit | 025262692a6710de29a48e2b3905672cd12d13d2 (patch) | |
| tree | 1730e50e0aa5132a62f15c28d86918b2ff5e087d /tools/bugpoint/Miscompilation.cpp | |
| parent | a3de11783f04a53ffb625a7ced7d6080705c9762 (diff) | |
Add a stub for debugging code generator crashes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
| -rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 715860839d..0884ad97d1 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -46,7 +46,7 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix, << " on the input program!\n"; BD.setPassesToRun(Suffix); BD.EmitProgressBytecode("pass-error", false); - exit(BD.debugCrash()); + exit(BD.debugOptimizerCrash()); } // Check to see if the finished program matches the reference output... @@ -74,7 +74,7 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix, << " on the input program!\n"; BD.setPassesToRun(Prefix); BD.EmitProgressBytecode("pass-error", false); - exit(BD.debugCrash()); + exit(BD.debugOptimizerCrash()); } // If the prefix maintains the predicate by itself, only keep the prefix! @@ -107,7 +107,7 @@ ReduceMiscompilingPasses::doTest(std::vector<const PassInfo*> &Prefix, << " on the input program!\n"; BD.setPassesToRun(Suffix); BD.EmitProgressBytecode("pass-error", false); - exit(BD.debugCrash()); + exit(BD.debugOptimizerCrash()); } // Run the result... @@ -225,7 +225,7 @@ bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*> &Funcs, std::cerr << " Error running this sequence of passes" << " on the input program!\n"; BD.EmitProgressBytecode("pass-error", false); - exit(BD.debugCrash()); + exit(BD.debugOptimizerCrash()); } if (!EmitBytecode) |
