summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/BugDriver.h
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-04-14 04:40:31 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-04-14 04:40:31 +0000
commit7c167954e2725bc9f6f7b25b605fb7500f7c5209 (patch)
treee49c84083105268576c4933896d7526954a31086 /llvm/tools/bugpoint/BugDriver.h
parent6b55cb9cd8e61f035c52704aeffc4c23afa5d1f6 (diff)
downloadbcm5719-llvm-7c167954e2725bc9f6f7b25b605fb7500f7c5209.tar.gz
bcm5719-llvm-7c167954e2725bc9f6f7b25b605fb7500f7c5209.zip
Bugpoint no longer uses exceptions.
llvm-svn: 101228
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.h')
-rw-r--r--llvm/tools/bugpoint/BugDriver.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.h b/llvm/tools/bugpoint/BugDriver.h
index c3c847f2a6b..e259dd95ce9 100644
--- a/llvm/tools/bugpoint/BugDriver.h
+++ b/llvm/tools/bugpoint/BugDriver.h
@@ -17,9 +17,12 @@
#define BUGDRIVER_H
#include "llvm/ADT/DenseMap.h"
+#include "llvm/Support/CommandLine.h"
#include <vector>
#include <string>
+extern llvm::cl::opt<bool> StripDebug;
+
namespace llvm {
class Value;
@@ -172,9 +175,7 @@ public:
void compileProgram(Module *M, std::string *Error);
/// executeProgram - This method runs "Program", capturing the output of the
- /// program to a file. The recommended filename will be filled in with the
- /// name of the file with the captured output. If there is a problem with
- /// the code generator (e.g., llc crashes), this will throw an exception.
+ /// program to a file. A recommended filename may be optionally specified.
///
std::string executeProgram(std::string OutputFilename,
std::string Bitcode,
OpenPOWER on IntegriCloud