[all-commits] [llvm/llvm-project] 954494: [lldb-dap] Specify the executable path in the atta...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon May 5 13:34:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9544943e2458597dc2cdcbed6de2a8d50da0d382
      https://github.com/llvm/llvm-project/commit/9544943e2458597dc2cdcbed6de2a8d50da0d382
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M lldb/tools/lldb-dap/Handler/AttachRequestHandler.cpp

  Log Message:
  -----------
  [lldb-dap] Specify the executable path in the attach info (#138557)

Currently, we are only using the executable name when attaching. The
AttachRequestHandler isn't setting the path in the attach info, which
means that we rely on the target when attaching by name. When wo go down
this path, we only look at the executable's filename, not its full path.
Since we know the full path from the attach arguments, we should specify
it in the attach info.

Fixes #138197



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list