aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2012-11-26 23:54:47 +0000
committerOwen Anderson <resistor@mac.com>2012-11-26 23:54:47 +0000
commit0d30d30d58253de6b8836a11effcfc38d7566841 (patch)
tree735048df468267d94355d52caf2c042ac4d575b2 /tools/bugpoint
parent8d20b5f9ff609e70fae5c865931ab0f29e639d9c (diff)
downloadexternal_llvm-0d30d30d58253de6b8836a11effcfc38d7566841.zip
external_llvm-0d30d30d58253de6b8836a11effcfc38d7566841.tar.gz
external_llvm-0d30d30d58253de6b8836a11effcfc38d7566841.tar.bz2
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
Patch by Pedro Artigas, with feedback from by Chandler Carruth. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index 8836eed..aed16f4 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/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)) {