diff options
| author | Alexei Starovoitov <[email protected]> | 2024-03-15 02:18:32 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-03-15 21:24:00 +0000 |
| commit | 10ebe835c937a11870690aa44c7c970fe906ff54 (patch) | |
| tree | f790b75713a6d9845bf8e2cb9c6d4e489a794264 /scripts/bpf_doc.py | |
| parent | bpf: Clarify bpf_arena comments. (diff) | |
| download | kernel-10ebe835c937a11870690aa44c7c970fe906ff54.tar.gz kernel-10ebe835c937a11870690aa44c7c970fe906ff54.zip | |
libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM
The selftests use
to tell LLVM about special pointers. For LLVM there is nothing "arena"
about them. They are simply pointers in a different address space.
Hence LLVM diff https://github.com/llvm/llvm-project/pull/85161 renamed:
. macro __BPF_FEATURE_ARENA_CAST -> __BPF_FEATURE_ADDR_SPACE_CAST
. global variables in __attribute__((address_space(N))) are now
placed in section named ".addr_space.N" instead of ".arena.N".
Adjust libbpf, bpftool, and selftests to match LLVM.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
