[llvm] [BPF] Allow struct pointee member btf generation with annotations (PR #141719)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 28 12:46:20 PDT 2025


eddyz87 wrote:

I noticed a single significant change in BTF generated for selftests:

```
-6.6K   verifier_bits_iter.bpf.o.btf
+69K    verifier_bits_iter.bpf.o.btf
```

Happens because of a `task_struct` as far as I understand.

>From logic pow, I think this code change is fine, however, I'm curious, would it be possible to use a single flag (e.g. `StopAtPointer`) instead of two flags (`SeenPointer`, `CheckPointer`)?

https://github.com/llvm/llvm-project/pull/141719


More information about the llvm-commits mailing list