anakryiko added inline comments.

================
Comment at: clang/include/clang/Basic/AttrDocs.td:2019
+targets. This attribute may be attached to a struct/union, struct/union field,
+function or variables declaration. If -g is specified, the ARGUMENT info will
+be preserved in IR and be emitted to dwarf. For BPF target, the ARGUMENT info
----------------
can it be also applied to function's argument?


================
Comment at: clang/test/Sema/attr-btf_tag.c:13
+
+int __tag foo(struct t1 __tag *arg) {
+  return arg->a;
----------------
in this case, second __tag, does it apply to function argument, or pointer, or 
pointer's pointee (struct t1)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106614/new/

https://reviews.llvm.org/D106614

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to