llvm-capstone/lldb
David Spickett fdc265be26 [lldb][AArch64] Invalidate cached VG value before reconfiguring SVE registers
This fixes 46b961f36b.

Prior to the SME changes the steps were:
* Invalidate all registers.
* Update value of VG and use that to reconfigure the registers.
* Invalidate all registers again.

With the changes for SME I removed the initial invalidate thinking
that it didn't make sense to do if we were going to invalidate them
all anyway after reconfiguring.

Well the reason it made sense was that it forced us to get the
latest value of vg which we needed to reconfigure properly.

Not doing so caused a test failure on our Graviton bot which has SVE
(https://lab.llvm.org/buildbot/#/builders/96/builds/45722). It was
flaky and looping it locally would always fail within a few minutes.
Presumably it was using an invalid value of vg, which caused some offsets
to be calculated incorrectly.

To fix this I've invalided vg in AArch64Reconfigure just before we read
it. This is the same as the fix I have in review for SME's svg register.

Pushing this directly to fix the ongoing test failure.
2023-09-20 16:05:34 +01:00
..
bindings Revert "[lldb] Add 'modify' type watchpoints, make it default (#66308)" 2023-09-18 22:50:39 -07:00
cmake [lldb] Bump SWIG minimum version to 4 2023-08-04 14:34:01 -07:00
docs [lldb][Docs] Fix typo in style docs 2023-09-20 08:04:23 +00:00
examples [lldb][Docs] Additions to debuging LLDB page (#65635) 2023-09-08 10:05:16 +01:00
include Revert "Fix a bug with cancelling "attach -w" after you have run a process previously (#65822)" 2023-09-20 08:19:53 +00:00
packages/Python/lldbsuite [lldb] Add config and decorator for wide character support in Editline (#66447) 2023-09-14 22:16:24 -07:00
resources
scripts [lldb] Format Python files in scripts and utils (#66053) 2023-09-14 08:54:02 +01:00
source [lldb][AArch64] Invalidate cached VG value before reconfiguring SVE registers 2023-09-20 16:05:34 +01:00
test [lldb-vscode] Use auto summaries whenever variables don't have a summary (#66551) 2023-09-20 10:23:41 -04:00
third_party/Python/module [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
tools [lldb-vscode] Use auto summaries whenever variables don't have a summary (#66551) 2023-09-20 10:23:41 -04:00
unittests [LLDB] Attempt to fix DumpDataExtractorTest 2023-09-18 22:02:05 +00:00
utils [lldb] Format Python files in scripts and utils (#66053) 2023-09-14 08:54:02 +01:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt
CodeOwners.rst [lldb] Update LLDB Code Ownership 2023-08-08 08:54:03 -07:00
LICENSE.TXT
use_lldb_suite_root.py [lldb] Format more Python files with black (#65979) 2023-09-12 08:46:34 +01:00