From: Chris Lattner Date: Mon, 29 Oct 2001 14:00:48 +0000 (+0000) Subject: Oops, accidentally broke reading from stdin when doing command line arguments X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=aa7420b35b43ad266b19dfc8fee4a1af29069c52;p=oota-llvm.git Oops, accidentally broke reading from stdin when doing command line arguments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1026 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/lli/lli.cpp b/tools/lli/lli.cpp index 798c5005f6c..7f4ef1d7e75 100644 --- a/tools/lli/lli.cpp +++ b/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();