[llvm-commits] [llvm] r101228 - in /llvm/trunk/tools/bugpoint: BugDriver.h Makefile
Nick Lewycky
nicholas at mxc.ca
Tue Apr 13 21:40:32 PDT 2010
Author: nicholas
Date: Tue Apr 13 23:40:31 2010
New Revision: 101228
URL: http://llvm.org/viewvc/llvm-project?rev=101228&view=rev
Log:
Bugpoint no longer uses exceptions.
Modified:
llvm/trunk/tools/bugpoint/BugDriver.h
llvm/trunk/tools/bugpoint/Makefile
Modified: llvm/trunk/tools/bugpoint/BugDriver.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/BugDriver.h?rev=101228&r1=101227&r2=101228&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/BugDriver.h (original)
+++ llvm/trunk/tools/bugpoint/BugDriver.h Tue Apr 13 23:40:31 2010
@@ -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 @@
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,
Modified: llvm/trunk/tools/bugpoint/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/Makefile?rev=101228&r1=101227&r2=101228&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/Makefile (original)
+++ llvm/trunk/tools/bugpoint/Makefile Tue Apr 13 23:40:31 2010
@@ -12,6 +12,5 @@
LINK_COMPONENTS := asmparser instrumentation scalaropts ipo \
linker bitreader bitwriter
-REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
More information about the llvm-commits
mailing list