From aa7420b35b43ad266b19dfc8fee4a1af29069c52 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 29 Oct 2001 14:00:48 +0000 Subject: [PATCH] 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 --- tools/lli/lli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.34.1