diff options
author | Owen Anderson <resistor@mac.com> | 2012-11-27 00:53:24 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2012-11-27 00:53:24 +0000 |
commit | 1db12f51353680685b8c30785188dca85c53c0b6 (patch) | |
tree | a47fd1c68eafd55362a468718b2621b2a80c5123 /llvm/tools/bugpoint/CrashDebugger.cpp | |
parent | 8ec03f5b54fad5ea337b31cce318dc8214b25447 (diff) | |
download | bcm5719-llvm-1db12f51353680685b8c30785188dca85c53c0b6.tar.gz bcm5719-llvm-1db12f51353680685b8c30785188dca85c53c0b6.zip |
Revert r168635 "Step towards implementation of pass manager with doInitialization and doFinalization per module detangled from runOn?? calls, still has temporary code not to break ASAN to be removed when that pass conforms to the proposed model".
It appears to have broken at least one buildbot.
llvm-svn: 168654
Diffstat (limited to 'llvm/tools/bugpoint/CrashDebugger.cpp')
-rw-r--r-- | llvm/tools/bugpoint/CrashDebugger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/bugpoint/CrashDebugger.cpp b/llvm/tools/bugpoint/CrashDebugger.cpp index aed16f47e01..8836eedb476 100644 --- a/llvm/tools/bugpoint/CrashDebugger.cpp +++ b/llvm/tools/bugpoint/CrashDebugger.cpp @@ -412,7 +412,9 @@ 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)) { |