]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests/bpf: Extend live regs tests with a test for gotox
authorAnton Protopopov <a.s.protopopov@gmail.com>
Wed, 14 Jan 2026 16:25:44 +0000 (16:25 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 15 Jan 2026 03:08:09 +0000 (19:08 -0800)
commit7c8e817e443c118aa303f1bbcec33df8d9e3487a
tree52f62f9a9fbba49a50936ec612be8011e50d2038
parentd1aab1ca576c90192ba961094d51b0be6355a4d6
selftests/bpf: Extend live regs tests with a test for gotox

Add a test which checks that the destination register of a gotox
instruction is marked as used and that the union of jump targets
is considered as live.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Link: https://lore.kernel.org/r/20260114162544.83253-3-a.s.protopopov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/progs/compute_live_registers.c