aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2024-07-30 08:59:12 +0200
committerGitHub <noreply@github.com>2024-07-30 08:59:12 +0200
commit94394ca980f8ecbd845155d2170cfd865e4d62dc (patch)
tree5599e9be2d7066a7c7a5471e52e6b1a1d8ceb300 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
parent1c53b907bd6348138a59da270836fc9b4c161a07 (diff)
downloadllvm-94394ca980f8ecbd845155d2170cfd865e4d62dc.zip
llvm-94394ca980f8ecbd845155d2170cfd865e4d62dc.tar.gz
llvm-94394ca980f8ecbd845155d2170cfd865e4d62dc.tar.bz2
[sanitizer_common] Fix signal_line.cpp on SPARC (#100535)
``` SanitizerCommon-ubsan-sparc-Linux :: Linux/signal_line.cpp ``` currently `FAIL`s on Linux/sparc64 (32 and 64-bit) for `n == 2`. Instead of the expected `SIGSEGV`, the test dies with `SIGBUS`. `strace` reveals that this is due to a unaligned access: ``` --- SIGBUS {si_signo=SIGBUS, si_code=BUS_ADRALN, si_addr=0x1} --- ``` which is to be expected on a strict-alignment target like SPARC. Fixed by changing the invalid pointer to be better aligned. Tested on `sparc64-unknown-linux-gnu` and `x86_64-pc-linux-gnu`.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions