aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.cpp
diff options
context:
space:
mode:
authorMuhammad Omair Javaid <omair.javaid@linaro.org>2021-10-06 13:56:44 +0500
committerMuhammad Omair Javaid <omair.javaid@linaro.org>2021-10-06 14:03:49 +0500
commitd2b9d0fdda5e8295a2a81276fa6be8ea8d1fd022 (patch)
tree30430f1dd8e3d8a16092b0c55533c6215d7523a0 /llvm/lib/Support/ErrorHandling.cpp
parentf8f1bb7462bf2924ac78e9f22356228356fd5219 (diff)
downloadllvm-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