Re: [PATCH v7 1/4] perf report: Support LLVM for addr2line()

From: Namhyung Kim
Date: Thu May 30 2024 - 12:56:12 EST


On Wed, May 29, 2024 at 6:53 AM Arnaldo Carvalho de Melo
<acme@xxxxxxxxxx> wrote:
>
> On Tue, May 28, 2024 at 08:56:47PM -0700, Namhyung Kim wrote:
> > On Sun, May 26, 2024 at 11:22 AM Steinar H. Gunderson <sesse@xxxxxxxxxx> wrote:
> > > +#elif defined(HAVE_LIBBFD_SUPPORT)
>
> > Hmm.. it's unfortunate that we have only one addr2line
> > implementation at a time. Maybe we can do the same thing
> > like in annotate with objdump so that it can fallback to another
> > method when failing. But it'd require more changes beyond
> > this work and I'm not sure if it's really worth it.
>
> Right, I think we shouldn't delay processing these patches because of
> that, we can do it as follow up patches, both for fallbacks in case we
> can detect problems like we did with capstone -> objdump disasm and also
> to be able to compare outputs in 'perf test' shell scripts, discounting
> known/expected minor differences.

Yep, I don't want to delay it unnecessarily. But I just want more
people to review and/or test the patches. :)

Thanks,
Namhyung