[PATCH] D112259: BPF: emit BTF_KIND_DECL_TAG for typedef types

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 21 11:51:14 PDT 2021


yonghong-song created this revision.
yonghong-song added reviewers: ast, anakryiko.
Herald added a subscriber: hiraditya.
yonghong-song requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

If a typedef type has __attribute__((btf_decl_tag("str"))) with
bpf target, emit BTF_KIND_DECL_TAG for that type in the BTF.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112259

Files:
  llvm/lib/Target/BPF/BTFDebug.cpp
  llvm/test/CodeGen/BPF/BTF/tag-typedef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112259.381348.patch
Type: text/x-patch
Size: 5789 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211021/9aa71c23/attachment.bin>


More information about the llvm-commits mailing list