All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH dwarves v2 0/2] btf: support typedef DW_TAG_LLVM_annotation
@ 2021-11-02 23:35 Yonghong Song
  2021-11-02 23:35 ` [PATCH dwarves v2 1/2] dwarf_loader: " Yonghong Song
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yonghong Song @ 2021-11-02 23:35 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.

Changelog:
  v1 -> v2:
   - change some "if" statements to "switch" statement.

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  | 17 ++++++++++++++---
 dwarf_loader.c |  7 ++-----
 2 files changed, 16 insertions(+), 8 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2021-11-11 18:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 23:35 [PATCH dwarves v2 0/2] btf: support typedef DW_TAG_LLVM_annotation Yonghong Song
2021-11-02 23:35 ` [PATCH dwarves v2 1/2] dwarf_loader: " Yonghong Song
2021-11-02 23:35 ` [PATCH dwarves v2 2/2] btf_encoder: generate BTF_KIND_DECL_TAGs for typedef btf_decl_tag attributes Yonghong Song
2021-11-03  0:11 ` [PATCH dwarves v2 0/2] btf: support typedef DW_TAG_LLVM_annotation Andrii Nakryiko
2021-11-10  5:23   ` Yonghong Song
2021-11-11 17:46     ` Arnaldo Carvalho de Melo
2021-11-11 18:07       ` Yonghong Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.