Bugpoint no longer uses exceptions.
authorNick Lewycky <nicholas@mxc.ca>
Wed, 14 Apr 2010 04:40:31 +0000 (04:40 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Wed, 14 Apr 2010 04:40:31 +0000 (04:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101228 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/BugDriver.h
tools/bugpoint/Makefile

index c3c847f2a6bb334f3b0b2010e2db4d33b3c85128..e259dd95ce9894cdc32d5ce33909ec65bd9340f5 100644 (file)
 #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,
index b821b6c7bd2335079129d1b87fd13499831bcb98..5d287ef188aeb9af43b3e75cc76f1f99486ce9b0 100644 (file)
@@ -12,6 +12,5 @@ TOOLNAME = bugpoint
 
 LINK_COMPONENTS := asmparser instrumentation scalaropts ipo \
                    linker bitreader bitwriter
-REQUIRES_EH := 1
 
 include $(LEVEL)/Makefile.common