Bugpoint no longer uses exceptions.

llvm-svn: 101228
This commit is contained in:
Nick Lewycky 2010-04-14 04:40:31 +00:00
parent 124dc743bc
commit 396b2fc686
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -12,6 +12,5 @@ TOOLNAME = bugpoint
LINK_COMPONENTS := asmparser instrumentation scalaropts ipo \
linker bitreader bitwriter
REQUIRES_EH := 1
include $(LEVEL)/Makefile.common