================ @@ -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:
According to our `--help` output and man page, we do. I didn't check the code (yet). ``` --wait-for Tells the debugger to wait for a process with the given pid or name to launch before attaching. ``` https://github.com/llvm/llvm-project/pull/142424 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits