selftest/bpf: Add a test case for ld_imm64 copy logic.
authorAlexei Starovoitov <ast@kernel.org>
Sun, 19 Mar 2023 20:30:14 +0000 (13:30 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 20 Mar 2023 16:26:41 +0000 (09:26 -0700)
commitbb4a6a9237293346cf1b3b7bc4ff4dfc1977a103
tree78e9e1ec8bb13d542d52067d35418e16181c3cc4
parenta506d6ce1dd184051037dc9d26c3eb187c9fe625
selftest/bpf: Add a test case for ld_imm64 copy logic.

Add a test case to exercise {btf_id, btf_obj_fd} copy logic between ld_imm64 insns.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20230319203014.55866-2-alexei.starovoitov@gmail.com
tools/testing/selftests/bpf/progs/test_ksyms_weak.c