aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
diff options
context:
space:
mode:
authorYucong Sun <sunyucong@gmail.com>2021-10-08 10:31:39 -0700
committerAndrii Nakryiko <andrii@kernel.org>2021-10-08 11:08:11 -0700
commit7e3cbd3405cb7b6c036b8984baa694bc55c08e46 (patch)
tree6c825455c4d11cce87caadd9c967e88717d02eca /tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
parentselftests/bpf: Remove SEC("version") from test progs (diff)
downloadlinux-dev-7e3cbd3405cb7b6c036b8984baa694bc55c08e46.tar.xz
linux-dev-7e3cbd3405cb7b6c036b8984baa694bc55c08e46.zip
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
Diffstat (limited to 'tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c')
-rw-r--r--tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c b/tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
index 35c512818a56..f2661c8d2d90 100644
--- a/tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
+++ b/tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
@@ -9,7 +9,7 @@
/* ----- START-EXPECTED-OUTPUT ----- */
struct padded_implicitly {
int a;
- long int b;
+ long b;
char c;
};