[Lldb-commits] [lldb] [lldb] Emit an error when using --wait-for without a name or pid (PR #142424)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 2 15:56:56 PDT 2025


================
@@ -280,6 +280,12 @@ SBError Driver::ProcessArgs(const opt::InputArgList &args, bool &exiting) {
   }
 
   if (args.hasArg(OPT_wait_for)) {
+    if (!args.hasArg(OPT_attach_name) || !args.hasArg(OPT_attach_pid)) {
----------------
JDevlieghere wrote:

Thanks for checking. I'll update the help. 

https://github.com/llvm/llvm-project/pull/142424


More information about the lldb-commits mailing list