selftests/bpf: Fix btf_dump test under new clang
authorYucong Sun <sunyucong@gmail.com>
Fri, 8 Oct 2021 17:31:39 +0000 (10:31 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 8 Oct 2021 18:08:11 +0000 (11:08 -0700)
commit7e3cbd3405cb7b6c036b8984baa694bc55c08e46
tree6c825455c4d11cce87caadd9c967e88717d02eca
parentdd65acf72d0e073970459d5da80573a04304aaa9
selftests/bpf: Fix btf_dump test under new clang

New clang version changed ([0]) type name in dwarf from "long int" to "long",
this is causing btf_dump tests to fail.

  [0] https://github.com/llvm/llvm-project/commit/f6a561c4d6754b13165a49990e8365d819f64c86

Signed-off-by: Yucong Sun <sunyucong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211008173139.1457407-1-fallentree@fb.com
tools/testing/selftests/bpf/progs/btf_dump_test_case_bitfields.c
tools/testing/selftests/bpf/progs/btf_dump_test_case_packing.c
tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
tools/testing/selftests/bpf/progs/btf_dump_test_case_syntax.c