llvm-project
7ae7a5ad - [BPF] Do not emit names for PTR, CONST, VOLATILE and RESTRICT BTF types (#163174)

Commit
13 days ago
[BPF] Do not emit names for PTR, CONST, VOLATILE and RESTRICT BTF types (#163174) We currently raise a warning in `print_btf.py` when any of these types have a name. Linux kernel doesn't allow names in these types either.[0] However, there is nothing stopping frontends from giving names to these types. To make sure that they are always anonymous, explicitly skip the name emission. [0] https://elixir.bootlin.com/linux/v6.17.1/source/kernel/bpf/btf.c#L2586
Author
Parents
Loading