summaryrefslogtreecommitdiff
path: root/tools/bugpoint/CrashDebugger.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-06-29 03:01:13 +0000
committerPhilip Reames <listmail@philipreames.com>2016-06-29 03:01:13 +0000
commitc29dedcdc73699d9889e8302ad1ddb53560961db (patch)
tree090066dd4a70689f12402ae8415df12aa1783ca5 /tools/bugpoint/CrashDebugger.cpp
parent997e1fa9b4ce31dce6cff42980080f23361baff8 (diff)
[bugpoint] Unwrap one level of wrapper functions [NFC]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/CrashDebugger.cpp')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index 052874dbf44..07fe0d7acbd 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/tools/bugpoint/CrashDebugger.cpp
@@ -874,7 +874,7 @@ static bool DebugACrash(BugDriver &BD,
}
static bool TestForOptimizerCrash(const BugDriver &BD, Module *M) {
- return BD.runPasses(M);
+ return BD.runPasses(M, BD.getPassesToRun());
}
/// debugOptimizerCrash - This method is called when some pass crashes on input.