diff options
author | John Criswell <criswell@uiuc.edu> | 2003-08-21 21:12:30 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-08-21 21:12:30 +0000 |
commit | 69582b35b6aa4e48cbbad7f6f1193c967da96b25 (patch) | |
tree | 0578d58ee787e1028f92db05ff4c1a821478a9fc /lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | 7d8fab9ecaabc726c340d26b62f9b0cc3f18b62a (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | lib/ExecutionEngine/Interpreter/Interpreter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index 51675b5d67..d3963ef26c 100644 --- a/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/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? |