mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Bugpoint no longer uses exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101228 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d305035155
commit
ac15da6705
@ -17,9 +17,12 @@
|
|||||||
#define BUGDRIVER_H
|
#define BUGDRIVER_H
|
||||||
|
|
||||||
#include "llvm/ADT/DenseMap.h"
|
#include "llvm/ADT/DenseMap.h"
|
||||||
|
#include "llvm/Support/CommandLine.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
extern llvm::cl::opt<bool> StripDebug;
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
class Value;
|
class Value;
|
||||||
@ -172,9 +175,7 @@ public:
|
|||||||
void compileProgram(Module *M, std::string *Error);
|
void compileProgram(Module *M, std::string *Error);
|
||||||
|
|
||||||
/// executeProgram - This method runs "Program", capturing the output of the
|
/// executeProgram - This method runs "Program", capturing the output of the
|
||||||
/// program to a file. The recommended filename will be filled in with the
|
/// program to a file. A recommended filename may be optionally specified.
|
||||||
/// 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.
|
|
||||||
///
|
///
|
||||||
std::string executeProgram(std::string OutputFilename,
|
std::string executeProgram(std::string OutputFilename,
|
||||||
std::string Bitcode,
|
std::string Bitcode,
|
||||||
|
@ -12,6 +12,5 @@ TOOLNAME = bugpoint
|
|||||||
|
|
||||||
LINK_COMPONENTS := asmparser instrumentation scalaropts ipo \
|
LINK_COMPONENTS := asmparser instrumentation scalaropts ipo \
|
||||||
linker bitreader bitwriter
|
linker bitreader bitwriter
|
||||||
REQUIRES_EH := 1
|
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
|
Loading…
Reference in New Issue
Block a user