summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-18 21:55:32 +0000
committerChris Lattner <sabre@nondot.org>2001-10-18 21:55:32 +0000
commitd299dbac0ea1013403b6c6e497079f62756bc5c0 (patch)
tree2dd204d43e2e85d5e29a59ba36525fd9bc802f9f /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
parentcbe05f258efccd9b7246f536449e4e2fb1040c6a (diff)
downloadbcm5719-llvm-d299dbac0ea1013403b6c6e497079f62756bc5c0.tar.gz
bcm5719-llvm-d299dbac0ea1013403b6c6e497079f62756bc5c0.zip
Enhancements to pass argc & argv to main if required
llvm-svn: 909
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 82e7f1fc3fa..8c2f32566a5 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -86,6 +86,9 @@ public:
static void print(const Type *Ty, GenericValue V);
static void printValue(const Type *Ty, GenericValue V);
+ // Hack until we can parse command line args...
+ bool callMainMethod(const string &MainName,
+ const string &InputFilename);
void list(); // Do the 'list' command
void printStackTrace(); // Do the 'backtrace' command
OpenPOWER on IntegriCloud