[PATCH] D106621: [DWARF] Support new TAG DW_TAG_LLVM_annotation

Andrii Nakryiko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 27 15:04:42 PDT 2021


anakryiko added inline comments.


================
Comment at: llvm/test/DebugInfo/attr-btf_tag.ll:14
+;
+;   int __tag1 __tag2 foo(struct t1 __tag1 __tag2 *arg) {
+;     return arg->a;
----------------
looking at CHECK tests below, seems like __tag1 and __tag2 are associated with the arg parameter, right? A bit surprised with syntax, I was expecting something like `struct t1 *arg __tag1 __tag2`, would such variant also work?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106621



More information about the llvm-commits mailing list