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
docs [lldb][Docs] Fix typo in style docs 2023-09-20 08:04:23 +00:00
examples
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
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
LICENSE.TXT
use_lldb_suite_root.py