forked from OSchip/llvm-project
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> llvm-svn: 345422
This commit is contained in:
parent
a89d887084
commit
9fd917ba3d
|
@ -578,10 +578,6 @@ SBError Driver::ParseArgs(int argc, const char *argv[], FILE *out_fh,
|
||||||
|
|
||||||
ResetOptionValues();
|
ResetOptionValues();
|
||||||
|
|
||||||
// No arguments or just program name, nothing to parse.
|
|
||||||
if (argc <= 1)
|
|
||||||
return SBError();
|
|
||||||
|
|
||||||
SBError error;
|
SBError error;
|
||||||
std::vector<option> long_options_vector;
|
std::vector<option> long_options_vector;
|
||||||
BuildGetOptTable(long_options_vector);
|
BuildGetOptTable(long_options_vector);
|
||||||
|
|
Loading…
Reference in New Issue