summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-14 21:21:57 +0000
committerChris Lattner <sabre@nondot.org>2004-03-14 21:21:57 +0000
commit0a002569003fd23a4e117fe54a9bb8a6673b86da (patch)
tree17cb05883512242f059c9aa3d75f253dc7d6763e /tools/bugpoint/BugDriver.h
parenta75766a6c14b364b74b30546802e26d4b4b36a9b (diff)
downloadllvm-0a002569003fd23a4e117fe54a9bb8a6673b86da.tar.gz
llvm-0a002569003fd23a4e117fe54a9bb8a6673b86da.tar.bz2
llvm-0a002569003fd23a4e117fe54a9bb8a6673b86da.tar.xz
Add a new "AutoDebugCrashes" option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.h')
-rw-r--r--tools/bugpoint/BugDriver.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/bugpoint/BugDriver.h b/tools/bugpoint/BugDriver.h
index b1cc3e830b..f5ef51763e 100644
--- a/tools/bugpoint/BugDriver.h
+++ b/tools/bugpoint/BugDriver.h
@@ -192,8 +192,11 @@ public:
/// runPassesOn - Carefully run the specified set of pass on the specified
/// module, returning the transformed module on success, or a null pointer on
- /// failure.
- Module *runPassesOn(Module *M, const std::vector<const PassInfo*> &Passes);
+ /// failure. If AutoDebugCrashes is set to true, then bugpoint will
+ /// automatically attempt to track down a crashing pass if one exists, and
+ /// this method will never return null.
+ Module *runPassesOn(Module *M, const std::vector<const PassInfo*> &Passes,
+ bool AutoDebugCrashes = false);
/// runPasses - Run the specified passes on Program, outputting a bytecode
/// file and writting the filename into OutputFile if successful. If the