llvm-capstone/lldb
David Spickett a770098557
[lldb][AArch64] Correct type of 32 bit GPR RegisterValues when using core files (#70054)
As ReadRegister always read into a uint64_t, when it called operator=
with uint64_t it was setting the RegisterValue's type to eTypeUInt64
regardless of its size.

This mostly works because most registers are 64 bit, and very few bits
of code rely on the type being correct. However, cpsr, fpsr and fpcr are
in fact 32 bit, and my upcoming register fields code relies on this type
being correct.

Which is how I found this bug and unfortunately is the only way to test
it. As RegisterValue::Type never makes it out via the API anywhere. So
this change will be tested once I start adding register field
information.
2023-10-25 09:08:01 +01:00
..
bindings [lldb] Move template python files to separate directory 2023-10-23 09:51:25 -07:00
cmake [LLDB] Allow specifying a custom exports file (#68013) 2023-10-05 20:17:48 -04:00
docs [LLDB] Update docs on building documentation (#69858) 2023-10-23 12:59:39 -07:00
examples [Reland] Detect against invalid variant index for LibStdC++ std::variant data formatters (#69614) 2023-10-24 08:44:34 -07:00
include Expose DWARFDIE::GetDeclContext() in lldb_private::Function. (#69981) 2023-10-24 10:55:23 -07:00
packages/Python/lldbsuite [lldb-vscode] Allow specifying a custom escape prefix for LLDB commands (#69238) 2023-10-25 00:05:54 -04:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb][windows] Cover more symbols in LLDB_EXPORT_ALL_SYMBOLS 2023-09-30 16:06:19 -07:00
source [lldb][AArch64] Correct type of 32 bit GPR RegisterValues when using core files (#70054) 2023-10-25 09:08:01 +01:00
test [lldb-vscode] Allow specifying a custom escape prefix for LLDB commands (#69238) 2023-10-25 00:05:54 -04:00
third_party/Python/module [lldb] Remove use of __future__ in python 2023-08-14 14:14:48 -07:00
tools [lldb-vscode] Allow specifying a custom escape prefix for LLDB commands (#69238) 2023-10-25 00:05:54 -04:00
unittests [lldb] Add a single bit constructor for RegisterFlags::Field (#69315) 2023-10-23 18:16:03 +01:00
utils [llvm][tblgen] Add Source Filename for emitSourceFileHeader (#65744) 2023-09-26 13:40:56 +08:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
CodeOwners.rst [lldb] Remove more references to lldb-vscode (#69696) 2023-10-20 15:08:37 +01:00
LICENSE.TXT
use_lldb_suite_root.py [lldb] Format more Python files with black (#65979) 2023-09-12 08:46:34 +01:00