[Lldb-commits] [PATCH] D108739: [LLDB] AArch64 SVE restore SVE registers after expression

Muhammad Omair Javaid via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 25 15:51:49 PDT 2021


omjavaid created this revision.
omjavaid added reviewers: DavidSpickett, rankov.
omjavaid added a project: LLDB.
Herald added subscribers: ctetreau, JDevlieghere, kristof.beyls, tschuett.
omjavaid requested review of this revision.

This patch fixes register save/restore on expression call to also include SVE registers.

This will fix expression calls like:

re re p1

<Register Value P1 <https://reviews.llvm.org/P1> before expression>

p <var-name or function call>

re re p1

<Register Value P1 <https://reviews.llvm.org/P1> after expression>

In above example register P1 <https://reviews.llvm.org/P1> should remain the same before and after the expression evaluation.


https://reviews.llvm.org/D108739

Files:
  lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
  lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
  lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
  lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
  lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/main.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108739.368764.patch
Type: text/x-patch
Size: 12791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210825/7ac4762a/attachment.bin>


More information about the lldb-commits mailing list