[PATCH] D74668: [Clang][BPF] implement __builtin_btf_type_id() builtin function
Andrii Nakryiko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 4 23:57:37 PDT 2020
anakryiko added a comment.
what's the use case for flag==0 (no relocation)? why using built-in at all in such case? Also flag==1 means relocate to local BTF ID or remote (kernel) BTF ID? Do you plan to add flag=2 as well to cover both cases? Or am I misunderstanding the meaning of this flag?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74668/new/
https://reviews.llvm.org/D74668
More information about the cfe-commits
mailing list