yonghong-song added a comment.
Discussed with Martin last Friday that it would be easier for CO-RE programming
if we can annotate the structure itself. This is the RFC patch. Please let me
whether this sounds a reasonable approach.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST
yonghong-song created this revision.
yonghong-song added reviewers: ast, anakryiko.
Herald added subscribers: cfe-commits, arphaman.
Herald added a project: clang.
This patch introduced a new bpf specific attribute which can
be added to struct or union definition. For example,
struct s { ... }