aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorMichal R <vad.sol@proton.me>2025-10-22 16:30:33 +0200
committerGitHub <noreply@github.com>2025-10-22 07:30:33 -0700
commit7ae7a5ad51f32118161ee0aaa13b11368aa5d29b (patch)
tree1ed9414abf4b0abb6477f7e7bdf3dc296803ecf1 /llvm/lib/Bitcode
parent7c826d4b4e394b6370714a03cf20fd6e8ddb4a12 (diff)
downloadllvm-7ae7a5ad51f32118161ee0aaa13b11368aa5d29b.zip
llvm-7ae7a5ad51f32118161ee0aaa13b11368aa5d29b.tar.gz
llvm-7ae7a5ad51f32118161ee0aaa13b11368aa5d29b.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions