diff options
author | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2025-08-19 08:34:29 -0700 |
---|---|---|
committer | Shubham Sandeep Rastogi <srastogi22@apple.com> | 2025-08-19 08:34:29 -0700 |
commit | 5abad32538d4aa6fa9a418d9dfe74d2fd275efd7 (patch) | |
tree | 46474671e1d0d875c2a292334da5ae1a3ff3a473 /lldb/source/Commands/CommandObjectExpression.cpp | |
parent | 10d193bf5eb92fda020e3d7304b5b1da6d5d4c1e (diff) | |
download | llvm-5abad32538d4aa6fa9a418d9dfe74d2fd275efd7.zip llvm-5abad32538d4aa6fa9a418d9dfe74d2fd275efd7.tar.gz llvm-5abad32538d4aa6fa9a418d9dfe74d2fd275efd7.tar.bz2 |
Revert "[lldb] Fix error : unknown error while starting lldb's C/C++ repl (#153560)"
This reverts commit 00ffd8b8aa4e8cd3a2fee654d55995918886e874.
The change breaks lldb greendragon tests
Namely, TestClangREPL.py
Diffstat (limited to 'lldb/source/Commands/CommandObjectExpression.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectExpression.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lldb/source/Commands/CommandObjectExpression.cpp b/lldb/source/Commands/CommandObjectExpression.cpp index 41bc8ab..197bffe9 100644 --- a/lldb/source/Commands/CommandObjectExpression.cpp +++ b/lldb/source/Commands/CommandObjectExpression.cpp @@ -640,15 +640,9 @@ void CommandObjectExpression::DoExecute(llvm::StringRef command, repl_sp->SetValueObjectDisplayOptions(m_varobj_options); } - if (!expr.empty()) { - result.GetOutputStream().Printf( - "Warning: trailing input is ignored in --repl mode\n"); - } - IOHandlerSP io_handler_sp(repl_sp->GetIOHandler()); io_handler_sp->SetIsDone(false); debugger.RunIOHandlerAsync(io_handler_sp); - return; } else { repl_error = Status::FromErrorStringWithFormat( "Couldn't create a REPL for %s", |