summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/lli.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-29 14:00:48 +0000
committerChris Lattner <sabre@nondot.org>2001-10-29 14:00:48 +0000
commitc6503e8a2f22f240e9a99d0650fa2572471eaffa (patch)
treea06a41814191f6e626aca43d0c5853c3ad4b81f8 /llvm/tools/lli/lli.cpp
parent1711dcbd294cc4214acb5cf8a4206bb9ae38e239 (diff)
downloadbcm5719-llvm-c6503e8a2f22f240e9a99d0650fa2572471eaffa.tar.gz
bcm5719-llvm-c6503e8a2f22f240e9a99d0650fa2572471eaffa.zip
Oops, accidentally broke reading from stdin when doing command line arguments
llvm-svn: 1026
Diffstat (limited to 'llvm/tools/lli/lli.cpp')
-rw-r--r--llvm/tools/lli/lli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp
index 798c5005f6c..7f4ef1d7e75 100644
--- a/llvm/tools/lli/lli.cpp
+++ b/llvm/tools/lli/lli.cpp
@@ -24,7 +24,7 @@ cl::Flag ProfileMode ("profile", "Enable Profiling [unimp]");
Interpreter::Interpreter() : ExitCode(0), Profile(ProfileMode),
Trace(TraceMode), CurFrame(-1) {
CurMod = 0;
- loadModule(InputArgv.size() ? InputArgv[0] : "");
+ loadModule(InputArgv.size() ? InputArgv[0] : "-");
// Initialize the "backend"
initializeExecutionEngine();
OpenPOWER on IntegriCloud