[Lldb-commits] [lldb] [lldb] Emit an error when using --wait-for without a name or pid (PR #142424)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 2 15:00:41 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)) {
----------------
jimingham wrote:
I don't think we do `--wait-for` for PID's do we? I think we only do it for name. wait-for for a PID is a somewhat odd operation...
https://github.com/llvm/llvm-project/pull/142424
More information about the lldb-commits
mailing list