[all-commits] [llvm/llvm-project] 1c2c67: [lldb] [Process/Utility] Fix value_regs/invalidate...

Michał Górny via All-commits all-commits at lists.llvm.org
Tue Oct 19 05:48:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c2c67b46b55a2a81ebc988c829e2eee13a4fec6
      https://github.com/llvm/llvm-project/commit/1c2c67b46b55a2a81ebc988c829e2eee13a4fec6
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h

  Log Message:
  -----------
  [lldb] [Process/Utility] Fix value_regs/invalidate_regs for ARM

Fix incorrect values for value_regs, and incomplete values for
invalidate_regs in RegisterInfos_arm.  The value_regs entry needs
to list only one base (i.e. larger) register that needs to be read
to get the value for this register, while invalidate_regs needs to list
all other registers (including pseudo-register) whose values would
change when this register is written to.

While at it, introduce helper macros for the definitions.

7a8ba4ffbeecb5070926b80bb839a4d80539f1ac fixed a similar problem
for ARM64.

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




More information about the All-commits mailing list