diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-18 21:55:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-18 21:55:32 +0000 |
commit | d299dbac0ea1013403b6c6e497079f62756bc5c0 (patch) | |
tree | 2dd204d43e2e85d5e29a59ba36525fd9bc802f9f /llvm/tools | |
parent | cbe05f258efccd9b7246f536449e4e2fb1040c6a (diff) | |
download | bcm5719-llvm-d299dbac0ea1013403b6c6e497079f62756bc5c0.tar.gz bcm5719-llvm-d299dbac0ea1013403b6c6e497079f62756bc5c0.zip |
Enhancements to pass argc & argv to main if required
llvm-svn: 909
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/lli/lli.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 9bb514e54e7..818931c5f79 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -49,7 +49,7 @@ int main(int argc, char** argv) { // Start interpreter into the main function... // - if (!I.callMethod(MainFunction) && !DebugMode) { + if (!I.callMainMethod(MainFunction, InputFilename) && !DebugMode) { // If not in debug mode and if the call succeeded, run the code now... I.run(); } |