mib marked an inline comment as done.
mib added inline comments.

================
Comment at: lldb/source/Commands/CommandObjectPlatform.cpp:1625
 
+    // When called from the `shell` alias with no argument, exit.
+    if (args.GetRawPart().empty())
----------------
JDevlieghere wrote:
> Is this only true for the alias?
I added this check because when using `shell` with no command, instead of 
showing the command usage, lldb tries running an empty command (if that makes 
sense) and showed the following error message:

```
(lldb) shell
error: executable doesn't exist: '(empty)'
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79659/new/

https://reviews.llvm.org/D79659



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to