[all-commits] [llvm/llvm-project] db223b: Do qProcessInfo-hint binary loading later in Proce...

Jason Molenda via All-commits all-commits at lists.llvm.org
Wed Jan 18 12:33:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db223b7f01f70cbd8459d0db9b20dfe9a3b099a7
      https://github.com/llvm/llvm-project/commit/db223b7f01f70cbd8459d0db9b20dfe9a3b099a7
  Author: Jason Molenda <jason at molenda.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h

  Log Message:
  -----------
  Do qProcessInfo-hint binary loading later in Process setup

The remote stub may give lldb hints about binaries to
be loaded, especially in a firmware type environment, and
relay those hints in the qProcessInfo response.  The
binary loading was done very early in Process setup, before
we had any threads, and this made it complicated for people
to write dSYM python scripts which need access to a thread.
Delay the binary loading until a bit later in the Process
startup.

Differential Revision: https://reviews.llvm.org/D141972
rdar://104235301




More information about the All-commits mailing list