bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH dwarves 0/2] btf: support typedef DW_TAG_LLVM_annotation
@ 2021-10-27 23:08 Yonghong Song
  2021-10-27 23:08 ` [PATCH dwarves 1/2] dwarf_loader: " Yonghong Song
  2021-10-27 23:08 ` [PATCH dwarves 2/2] btf_encoder: generate BTF_KIND_DECL_TAGs for typedef btf_decl_tag attributes Yonghong Song
  0 siblings, 2 replies; 5+ messages in thread
From: Yonghong Song @ 2021-10-27 23:08 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, dwarves
  Cc: Alexei Starovoitov, Andrii Nakryiko, bpf, Daniel Borkmann, kernel-team

Latest llvm is able to generate DW_TAG_LLVM_annotation for typedef
declarations. Latest bpf-next supports BTF_KIND_DECL_TAG for
typedef declarations. This patch implemented dwarf DW_TAG_LLVM_annotation
to btf BTF_KIND_DECL_TAG conversion. Patch 1 is for dwarf_loader
to process DW_TAG_LLVM_annotation tags. Patch 2 is for the
dwarf->btf conversion.

Yonghong Song (2):
  dwarf_loader: support typedef DW_TAG_LLVM_annotation
  btf_encoder: generate BTF_KIND_DECL_TAGs for typedef btf_decl_tag
    attributes

 btf_encoder.c  | 12 +++++++++---
 dwarf_loader.c |  7 ++-----
 2 files changed, 11 insertions(+), 8 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-02 23:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-27 23:08 [PATCH dwarves 0/2] btf: support typedef DW_TAG_LLVM_annotation Yonghong Song
2021-10-27 23:08 ` [PATCH dwarves 1/2] dwarf_loader: " Yonghong Song
2021-10-27 23:08 ` [PATCH dwarves 2/2] btf_encoder: generate BTF_KIND_DECL_TAGs for typedef btf_decl_tag attributes Yonghong Song
2021-11-02  2:58   ` Andrii Nakryiko
2021-11-02 23:21     ` Yonghong Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).