[Lldb-commits] [lldb] r345422 - Remove an early-return from Driver::ParseArgs that
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 26 12:40:18 PDT 2018
Author: jmolenda
Date: Fri Oct 26 12:40:18 2018
New Revision: 345422
URL: http://llvm.org/viewvc/llvm-project?rev=345422&view=rev
Log:
Remove an early-return from Driver::ParseArgs that
was added as a part of D52604 / r343348. If the
lldb driver is run without any arguments, .lldbinit
file reading was not enabled.
<rdar://problem/45570242>
Modified:
lldb/trunk/tools/driver/Driver.cpp
Modified: lldb/trunk/tools/driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Driver.cpp?rev=345422&r1=345421&r2=345422&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Driver.cpp (original)
+++ lldb/trunk/tools/driver/Driver.cpp Fri Oct 26 12:40:18 2018
@@ -578,10 +578,6 @@ SBError Driver::ParseArgs(int argc, cons
ResetOptionValues();
- // No arguments or just program name, nothing to parse.
- if (argc <= 1)
- return SBError();
-
SBError error;
std::vector<option> long_options_vector;
BuildGetOptTable(long_options_vector);
More information about the lldb-commits
mailing list