Re: [PATCH] bpftool: un-const bpf_func_info to fix it for llvm 17 and newer

From: patchwork-bot+netdevbpf
Date: Tue May 21 2024 - 13:42:08 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Mon, 20 May 2024 15:51:49 -0700 you wrote:
> LLVM 17 started treating const structs as constants:
>
> * https://github.com/llvm/llvm-project/commit/0b2d5b967d98
>
> Combined with pointer laundering via ptr_to_u64, which takes a const ptr,
> but in reality treats the underlying memory as mutable, this makes clang
> always pass zero to btf__type_by_id, which breaks full name resolution.
>
> [...]

Here is the summary with links:
- bpftool: un-const bpf_func_info to fix it for llvm 17 and newer
https://git.kernel.org/bpf/bpf-next/c/f4aba3471cfb

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html