[Lldb-commits] [lldb] [lldb-dap] Create an empty target when the attach program is a process name (PR #233684)

Nathan Fusselman via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 20 19:47:20 PDT 2026


nathanfusselman wrote:

I took your suggestion in the last comment. CreateTarget now gets its own create_error, so a failed create for "attach by name" no longer leaks into the error checked after attachCommands. No changes made to DAP.cpp / CreateTarget. The one-of program/pid/attachCommands idea makes sense to me but is a bit heavy of a change for here.

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


More information about the lldb-commits mailing list