[all-commits] [llvm/llvm-project] b715b7: Make it possible for lldb to launch a remote binar...

jimingham via All-commits all-commits at lists.llvm.org
Tue Nov 16 16:08:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b715b79d54d5ca2d4e8c91089b8f6a9389d9dc48
      https://github.com/llvm/llvm-project/commit/b715b79d54d5ca2d4e8c91089b8f6a9389d9dc48
  Author: Jim Ingham <jingham at apple.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M lldb/source/Commands/CommandObjectProcess.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Target/Process.cpp
    A lldb/test/API/functionalities/gdb_remote_client/TestNoLocalFile.py

  Log Message:
  -----------
  Make it possible for lldb to launch a remote binary with no local file.

We don't actually need a local copy of the main executable to debug
a remote process.  So instead of treating "no local module" as an error,
see if the LaunchInfo has an executable it wants lldb to use, and if so
use it.  Then report whatever error the remote server returns.

Differential Revision: https://reviews.llvm.org/D113521




More information about the All-commits mailing list