[PATCH] D106618: [Clang][LLVM] generate btf_tag annotations for DISubprogram types

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 25 19:49:46 PDT 2021


dblaikie added inline comments.


================
Comment at: clang/test/CodeGen/attr-btf_tag-disubprogram-2.c:5-14
+#define __tag2 __attribute__((btf_tag("tag2")))
+
+struct t1 {
+  int a;
+};
+
+extern int __tag1 __tag2 foo(struct t1 *);
----------------
Any particular reason this needs to be split out into its own file (perhaps the filename could describe the reason a bit - help explain what's tricky/different about this, rather than being differentiated only by `1` or `2`), or could this be rolled into the other test file?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106618



More information about the llvm-commits mailing list