yonghong-song added a comment. In D74668#2015294 <https://reviews.llvm.org/D74668#2015294>, @anakryiko wrote:
> Let's extend __builtin_btf_type_id() to accept second argument specifying > whether it's local BTF ID (from program's BTF) or target BTF ID (from > kernel/module BTF)? We can probably make it an enum just like with > preserve_access_index() built-in, for easy future extension. WDYT? This is on my to-do list. Haven't do it since the builtin is not used yet. Will do this once my bpf_iter v2 is sent out. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74668/new/ https://reviews.llvm.org/D74668 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits