[all-commits] [llvm/llvm-project] 0472e8: BPF: emit BTF_KIND_DECL_TAG for typedef types

yonghong-song via All-commits all-commits at lists.llvm.org
Thu Oct 21 12:10:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0472e83ffcc6c0506b0cd67844b97cb34eaa302e
      https://github.com/llvm/llvm-project/commit/0472e83ffcc6c0506b0cd67844b97cb34eaa302e
  Author: Yonghong Song <yhs at fb.com>
  Date:   2021-10-21 (Thu, 21 Oct 2021)

  Changed paths:
    M llvm/lib/Target/BPF/BTFDebug.cpp
    A llvm/test/CodeGen/BPF/BTF/tag-typedef.ll

  Log Message:
  -----------
  BPF: emit BTF_KIND_DECL_TAG for typedef types

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

Differential Revision: https://reviews.llvm.org/D112259




More information about the All-commits mailing list