projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing newlines at EOF (for clang++).
[oota-llvm.git]
/
tools
/
bugpoint
/
BugDriver.h
diff --git
a/tools/bugpoint/BugDriver.h
b/tools/bugpoint/BugDriver.h
index 79c7038071eede2110be04bff929a2c63175f85d..db35c851d9a43322878e3921e0f654077ec3fbbd 100644
(file)
--- a/
tools/bugpoint/BugDriver.h
+++ b/
tools/bugpoint/BugDriver.h
@@
-30,7
+30,7
@@
class Function;
class BasicBlock;
class AbstractInterpreter;
class Instruction;
class BasicBlock;
class AbstractInterpreter;
class Instruction;
-
struct
LLVMContext;
+
class
LLVMContext;
class DebugCrashes;
class DebugCrashes;
@@
-44,7
+44,7
@@
extern bool BugpointIsInterrupted;
class BugDriver {
LLVMContext& Context;
class BugDriver {
LLVMContext& Context;
- const
std::string ToolName; // Name
of bugpoint
+ const
char *ToolName; // argv[0]
of bugpoint
std::string ReferenceOutputFile; // Name of `good' output file
Module *Program; // The raw program, linked together
std::vector<const PassInfo*> PassesToRun;
std::string ReferenceOutputFile; // Name of `good' output file
Module *Program; // The raw program, linked together
std::vector<const PassInfo*> PassesToRun;
@@
-64,7
+64,7
@@
public:
BugDriver(const char *toolname, bool as_child, bool find_bugs,
unsigned timeout, unsigned memlimit, LLVMContext& ctxt);
BugDriver(const char *toolname, bool as_child, bool find_bugs,
unsigned timeout, unsigned memlimit, LLVMContext& ctxt);
- const
std::string &
getToolName() const { return ToolName; }
+ const
char *
getToolName() const { return ToolName; }
LLVMContext& getContext() { return Context; }
LLVMContext& getContext() { return Context; }