[all-commits] [llvm/llvm-project] d2b9d0: Round XML register bitsize to byte boundary
Muhammad Omair Javaid via All-commits
all-commits at lists.llvm.org
Wed Oct 6 02:04:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022
https://github.com/llvm/llvm-project/commit/d2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022
Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: 2021-10-06 (Wed, 06 Oct 2021)
Changed paths:
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/test/API/functionalities/gdb_remote_client/TestArmRegisterDefinition.py
Log Message:
-----------
Round XML register bitsize to byte boundary
This patch allows LLDB to accept register sizes which are not aligned
to 8 bits bitsize boundary. This fixes a crash in LLDB when connecting
to OpenOCD stub. GDB xml description allows for non-aligned bit lengths
but they are rounded off to nearest byte during transfer. In case of
OpenOCD some of SOC specific system registers were less than a single
byte in length and were causing LLDB to crash.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D111131
More information about the All-commits
mailing list