All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Yonghong Song <yhs@fb.com>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>,
	Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com>,
	dwarves@vger.kernel.org, Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>, bpf <bpf@vger.kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Kernel Team <kernel-team@fb.com>
Subject: Re: [PATCH dwarves v2 0/2] btf: support typedef DW_TAG_LLVM_annotation
Date: Thu, 11 Nov 2021 14:46:12 -0300	[thread overview]
Message-ID: <YY1W5FlMlaN6DGaN@kernel.org> (raw)
In-Reply-To: <e89bbd11-724a-d186-26d6-ce34435702f1@fb.com>

Em Tue, Nov 09, 2021 at 09:23:30PM -0800, Yonghong Song escreveu:
> 
> 
> On 11/2/21 5:11 PM, Andrii Nakryiko wrote:
> > On Tue, Nov 2, 2021 at 4:35 PM Yonghong Song <yhs@fb.com> wrote:
> > > 
> > > 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.
> > > 
> > 
> > LGTM.
> > 
> > Acked-by: Andrii Nakryiko <andrii@kernel.org>
> 
> Arnaldo, did you get chance to look at this patch set?

Yeah, I've merged and put it in the tmp.master branch so that libbpf's
CI can have a go on it.

I'm also updating my clang/llvm build to test it.

Thanks,

- Arnaldo
 
> > 
> > > 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
> > > 

-- 

- Arnaldo

  reply	other threads:[~2021-11-11 17:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2021-11-11 18:07       ` Yonghong Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YY1W5FlMlaN6DGaN@kernel.org \
    --to=acme@kernel.org \
    --cc=andrii.nakryiko@gmail.com \
    --cc=andrii@kernel.org \
    --cc=arnaldo.melo@gmail.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=dwarves@vger.kernel.org \
    --cc=kernel-team@fb.com \
    --cc=yhs@fb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.