]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/tcg/hexagon: Handle SIGILL internally in invalid-slots test
authorBrian Cain <brian.cain@oss.qualcomm.com>
Wed, 11 Feb 2026 22:19:52 +0000 (14:19 -0800)
committerBrian Cain <brian.cain@oss.qualcomm.com>
Fri, 13 Feb 2026 02:38:23 +0000 (18:38 -0800)
commit8772ff0085b976f07c0c19d498392bbd02ba0ac1
tree669fd98ac7e8555249e9b3617140377cb69f5f6d
parentb0129a14a4fb34b2a3e3ac816dd74bd6391027e6
tests/tcg/hexagon: Handle SIGILL internally in invalid-slots test

Rewrite invalid-slots.c to catch and verify SIGILL using a sigaction
handler that modifies the ucontext, matching the pattern used by
invalid-encoding.c.

Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
tests/tcg/hexagon/Makefile.target
tests/tcg/hexagon/invalid-slots.c