summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-08-21 21:12:30 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-08-21 21:12:30 +0000
commit71c3e6236febeda842adbf411e05463fb021159d (patch)
treeb2c989e01108583b8f4aab194fad1ae7c27b046e /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
parente08478eb59028f370b6c7a0da6ccce45c090e3eb (diff)
downloadbcm5719-llvm-71c3e6236febeda842adbf411e05463fb021159d.tar.gz
bcm5719-llvm-71c3e6236febeda842adbf411e05463fb021159d.zip
The JIT now passes the environment pointer to the main() function when it
starts a program. This allows the GNU env program to compile and JIT under LLVM. llvm-svn: 8022
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Interpreter.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
index 51675b5d671..d3963ef26c3 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -97,7 +97,8 @@ public:
/// run - Start execution with the specified function and arguments.
///
virtual int run(const std::string &FnName,
- const std::vector<std::string> &Args);
+ const std::vector<std::string> &Args,
+ const char ** envp);
// enableProfiling() - Turn profiling on, clear stats?
OpenPOWER on IntegriCloud