summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/CrashDebugger.cpp
diff options
context:
space:
mode:
authorPedro Artigas <partigas@apple.com>2012-11-29 17:47:05 +0000
committerPedro Artigas <partigas@apple.com>2012-11-29 17:47:05 +0000
commitd6b092bbd568c2df397b3edc5bbf484b37315cd5 (patch)
tree5aa71cbc5be72acbb4ac42d2170fb14e181c88dd /llvm/tools/bugpoint/CrashDebugger.cpp
parentcbb07bea14a708e1d7cfcb286cac334f83b0a192 (diff)
downloadbcm5719-llvm-d6b092bbd568c2df397b3edc5bbf484b37315cd5.tar.gz
bcm5719-llvm-d6b092bbd568c2df397b3edc5bbf484b37315cd5.zip
One more step towards making doInitialization and doFinalization useful for
start up and clean up module passes, now that ASAN and TSAN are fixed the tests pass llvm-svn: 168905
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
-rw-r--r--llvm/tools/bugpoint/CrashDebugger.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp
index 8836eedb476..aed16f47e01 100644
--- a/llvm/tools/bugpoint/CrashDebugger.cpp
+++ b/llvm/tools/bugpoint/CrashDebugger.cpp
@@ -412,9 +412,7 @@ bool ReduceCrashingInstructions::TestInsts(std::vector<const Instruction*>
// Verify that this is still valid.
PassManager Passes;
Passes.add(createVerifierPass());
- Passes.doInitialization();
Passes.run(*M);
- Passes.doFinalization();
// Try running on the hacked up program...
if (TestFn(BD, M)) {
OpenPOWER on IntegriCloud