diff options
Diffstat (limited to 'tools/lli')
-rw-r--r-- | tools/lli/lli.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index a69f53c98a..7a0925deec 100644 --- a/tools/lli/lli.cpp +++ b/tools/lli/lli.cpp @@ -46,7 +46,7 @@ ExecutionEngine::~ExecutionEngine() { //===----------------------------------------------------------------------===// // main Driver function // -int main(int argc, char** argv) { +int main(int argc, char** argv, const char ** envp) { cl::ParseCommandLineOptions(argc, argv, " llvm interpreter & dynamic compiler\n"); @@ -98,7 +98,7 @@ int main(int argc, char** argv) { InputArgv.insert(InputArgv.begin(), InputFile); // Run the main function! - int ExitCode = EE->run(MainFunction, InputArgv); + int ExitCode = EE->run(MainFunction, InputArgv, envp); // Now that we are done executing the program, shut down the execution engine delete EE; |