diff options
author | Muhammad Omair Javaid <omair.javaid@linaro.org> | 2021-10-06 13:56:44 +0500 |
---|---|---|
committer | Muhammad Omair Javaid <omair.javaid@linaro.org> | 2021-10-06 14:03:49 +0500 |
commit | d2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022 (patch) | |
tree | 30430f1dd8e3d8a16092b0c55533c6215d7523a0 /llvm/lib/Support/ErrorHandling.cpp | |
parent | f8f1bb7462bf2924ac78e9f22356228356fd5219 (diff) | |
download | llvm-d2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022.zip llvm-d2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022.tar.gz llvm-d2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions