[all-commits] [llvm/llvm-project] d40264: [LLDB] On AArch64, reconfigure register context fi...

Jason Molenda via All-commits all-commits at lists.llvm.org
Tue Oct 31 08:38:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4026458d4ced8471cc0fcbf3a1a4cd1944ebea9
      https://github.com/llvm/llvm-project/commit/d4026458d4ced8471cc0fcbf3a1a4cd1944ebea9
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

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

  Log Message:
  -----------
  [LLDB] On AArch64, reconfigure register context first (#70742)

On an SVE/SME the register context configuration may change after the
inferior process has executed. This was handled via
https://reviews.llvm.org/D159504 but it is reconfiguring and clearing
the register context after we've parsed any expedited reigster values
from the stop reply packet. That results in lldb having to read each
register value one at a time while at that stop location, which will be
a performance problem on non-local debug setups.

The configuration & clearing needs to happen first. Also, update the
names of the local variables for a little clarity.




More information about the All-commits mailing list