Re: Range lists, zero-length functions, linker gc

2020-06-25 Thread David Blaikie via Elfutils-devel
On Wed, Jun 24, 2020 at 3:22 PM Mark Wielaard wrote: > > Hi David, > > On Fri, 2020-06-19 at 17:46 -0700, David Blaikie via Elfutils-devel wrote: > > On Fri, Jun 19, 2020 at 5:00 AM Mark Wielaard wrote: > > > I think that is kind of the point of Early Debug. Only use DWARF (at > > > first) for ad

Re: Questions regarding editing an elf executable

2020-06-25 Thread Mark Wielaard
Hi Anastasios, On Thu, 2020-06-25 at 02:46 +0100, Anastasios Andronidis via Elfutils- devel wrote: > My end goal is to add a DT_NEEDED entry into an arbitrary elf file, > but before this I should just print the DT_NEEDED entries like this: > > ```C > > // Some code that copies a source_elf_file

Re: Can dwarf_getscopes{,_die} performance be improved?

2020-06-25 Thread Mark Wielaard
Hi Milian, On Mon, 2020-06-22 at 10:29 +0200, Milian Wolff wrote: > On Montag, 15. Juni 2020 18:54:41 CEST Josh Stone wrote: > > On 6/13/20 10:40 AM, Milian Wolff wrote: > > > Has anyone an idea on how to to post-process the DWARF data to optimize > > > the > > > lookup of inlined frames? > > > >

[Bug tools/26043] eu-addr2line debuginfo-path option with relative path doesn't find file:line information

2020-06-25 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26043 --- Comment #8 from Mark Wielaard --- (In reply to devel.origin from comment #7) > For that demo the debug files are ending up in a custom directory (the > build-id-demo/.build-id/) for the packge builder to pick up. So they can't > be found b

Re: location list

2020-06-25 Thread Mark Wielaard
Hi Sasha, On Tue, 2020-06-23 at 16:34 +, Sasha Da Rocha Pinheiro wrote: > Since we are now using not only executables and .so, but ".o" files > too, I'm trying to decide if I can use the same functions to all of > them, like the code you pointed out to deal with ".o". Would that > work for EXE

[Bug debuginfod/25509] Break a cyclic dependency by core packages

2020-06-25 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25509 --- Comment #18 from Martin Liska --- > I am hoping that helps both the Suse use case which would like a > bootstrap/dummy libdebuginfod.so (--enable-libdebuginfod=dummy > --disable-debuginfod) Yes, I can confirm the suggested scenario will w

[Bug debuginfod/25509] Break a cyclic dependency by core packages

2020-06-25 Thread mark at klomp dot org via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=25509 --- Comment #17 from Mark Wielaard --- Just to be clear, the current setup is: --enable-debuginfod or --enable-debuginfod=yes: builds all debuginfod server/client artifacts (requires libcurl) --disable-debuginfod or --enable-debuginfod=no: bu