[Lldb-commits] [PATCH] D82866: [LLDB] Test SVE dynamic resize with multiple threads

Muhammad Omair Javaid via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 30 04:51:09 PDT 2020


omjavaid created this revision.
omjavaid added a reviewer: labath.
Herald added subscribers: kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
omjavaid added a parent revision: D82863: [LLDB] Add support to resize SVE registers at run-time.
omjavaid added a parent revision: D82865: [LLDB] Add GetByteOffset to SBValue interface for reading register offset.

This patch adds a new test case which depends on AArch64 SVE support and dynamic resize capability enabled. It created two seperate threads which have different values of sve registers and SVE vector granule at various points during execution.

We test that LLDB is doing the size and offset updates properly for all of the threads including the main thread and when we VG is updated using prctl call or by 'register write vg' command the appropriate changes are also update in register infos.


https://reviews.llvm.org/D82866

Files:
  lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/Makefile
  lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py
  lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/main.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82866.274421.patch
Type: text/x-patch
Size: 8602 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200630/8340d726/attachment-0001.bin>


More information about the lldb-commits mailing list