Merge branch 'bpf-btf-dwarf5'
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 2 Feb 2022 10:19:34 +0000 (11:19 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 2 Feb 2022 10:22:06 +0000 (11:22 +0100)
commitdd5152ab338c8705093a64d706a35074b3b365aa
tree981f50eafee65ec885147d7d38f638fb5a035aa9
parent42d9b379e3e1790eafb87c799c9edfd0b37a37c7
parentc975d94af810ceaf60cca5129421d501e13e65cf
Merge branch 'bpf-btf-dwarf5'

Nathan Chancellor says:

====================
This series allows CONFIG_DEBUG_INFO_DWARF5 to be selected with
CONFIG_DEBUG_INFO_BTF=y by checking the pahole version.

The first four patches add CONFIG_PAHOLE_VERSION and
scripts/pahole-version.sh to clean up all the places that pahole's
version is transformed into a 3-digit form.

The fourth patch adds a PAHOLE_VERSION dependency to DEBUG_INFO_DWARF5
so that there are no build errors when it is selected with
DEBUG_INFO_BTF.

I build tested Fedora's aarch64 and x86_64 config with ToT clang 14.0.0
and GCC 11 with CONFIG_DEBUG_INFO_DWARF5 enabled with both pahole 1.21
and 1.23.
====================

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>