aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/verifier/div_overflow.c
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@netronome.com>2019-01-26 12:26:14 -0500
committerAlexei Starovoitov <ast@kernel.org>2019-01-26 13:33:02 -0800
commit3ef84346c56141c72a28efcad2ddf17809533832 (patch)
treedae6534e7471ad23e7698aa60ef663fa753d0871 /tools/testing/selftests/bpf/verifier/div_overflow.c
parent6ea848b5ced53cbfd5677ff176c2aca10fd61bf4 (diff)
selftests: bpf: makefile support sub-register code-gen test mode
This patch enables testing some eBPF programs under sub-register compilation mode. Only enable this when there is BPF_JMP32 support on both LLVM and kernel. This is because only after BPF_JMP32 added, code-gen for complex program under sub-register mode will be clean enough to pass verification. This patch splits TEST_GEN_FILES into BPF_OBJ_FILES and BPF_OBJ_FILES_DUAL_COMPILE. The latter are those objects we would like to compile for both default and sub-register mode. They are also objects used by "test_progs". Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/verifier/div_overflow.c')
0 files changed, 0 insertions, 0 deletions