[Lldb-commits] [PATCH] D112066: [lldb] [Process/Utility] Fix value_regs/invalidate_regs for ARM

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 19 05:20:25 PDT 2021


mgorny created this revision.
mgorny added reviewers: labath, teemperor, krytarowski, emaste.
Herald added a subscriber: kristof.beyls.
mgorny requested review of this revision.

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.


https://reviews.llvm.org/D112066

Files:
  lldb/source/Plugins/Process/Utility/RegisterInfos_arm.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112066.380655.patch
Type: text/x-patch
Size: 42761 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211019/5d537cdf/attachment-0001.bin>


More information about the lldb-commits mailing list