[Lldb-commits] [PATCH] D77047: AArch64 SVE register infos and core file support

Muhammad Omair Javaid via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 16 15:59:07 PDT 2020


omjavaid updated this revision to Diff 278617.
omjavaid added a comment.

This update plugs the holes susceptible to bugs by endianity variations.  I have used DataExtractor GetU16 to read flags and vl from user_sve_header. Also removed the memset and replaced it with SetFromMemoryData function.

Moreover a new test is added which tests SVE FPSIMD mode core file.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77047/new/

https://reviews.llvm.org/D77047

Files:
  lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.cpp
  lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_arm64.h
  lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp
  lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_arm64.h
  lldb/source/Plugins/Process/Utility/RegisterInfos_arm64_sve.h
  lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.cpp
  lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_arm64.h
  lldb/source/Plugins/Process/elf-core/RegisterUtilities.h
  lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
  lldb/test/API/functionalities/postmortem/elf-core/linux-aarch64-sve-fpsimd.core
  lldb/test/API/functionalities/postmortem/elf-core/linux-aarch64-sve-full.core
  lldb/test/API/functionalities/postmortem/elf-core/linux-aarch64-sve.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77047.278617.patch
Type: text/x-patch
Size: 72790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200716/017d7492/attachment-0001.bin>


More information about the lldb-commits mailing list