Re: [PATCH v2] Add __libdw_getdieranges

2024-02-29 Thread Mark Wielaard
Hi Aaron, On Tue, Feb 27, 2024 at 08:11:39PM -0500, Aaron Merey wrote: > __libdw_getdieranges builds an aranges list by iterating over each > CU and recording each address range. > > This function is an alternative to dwarf_getaranges. dwarf_getaranges > attempts to read address ranges from .deb

Re: [PATCH v3 1/4] libdw: Handle split DWARF in dwarf_decl_file

2024-02-29 Thread Mark Wielaard
Hi Omar, On Mon, Feb 26, 2024 at 11:32:48AM -0800, Omar Sandoval wrote: > Calling dwarf_decl_file on a split DWARF DIE fails this assertion: > > dwarf_decl_file.c:72: dwarf_decl_file: Assertion `cu->files != NULL && > cu->files != (void *) -1l' failed. > > This is because dwarf_decl_file call

[Bug tools/22288] eu-addr2line doesn't find a rust file:line

2024-02-29 Thread amerey at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22288 Aaron Merey changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libdw/30948] src/stack doesn't show source inforamtion if the target is compiled with clang

2024-02-29 Thread amerey at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30948 Aaron Merey changed: What|Removed |Added CC||amerey at redhat dot com St

Re: [PATCH v3 2/4] libdw: Refactor dwarf_next_lines and fix skipped CU

2024-02-29 Thread Mark Wielaard
Hi Omar, On Mon, Feb 26, 2024 at 11:32:49AM -0800, Omar Sandoval wrote: > dwarf_next_lines has two loops over CUs: one from the CU after the given > CU to the end, and one from the first CU up to _but not including_ the > given CU. This means that the given CU is never checked. > > This is unlik

Re: [PATCH v3 3/4] libdw: Apply DWARF package file section offsets where appropriate

2024-02-29 Thread Mark Wielaard
Hi Omar, On Mon, Feb 26, 2024 at 11:32:50AM -0800, Omar Sandoval wrote: > The final piece of DWARF package file support is that offsets have to be > interpreted relative to the section offset from the package index. > .debug_abbrev.dwo is already covered, so sprinkle around calls to > dwarf_cu_dwp

☠ Buildbot (Sourceware): elfutils - failed test (failure) (main)

2024-02-29 Thread builder
A new failure has been detected on builder elfutils-debian-ppc64 while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/63/builds/289 Build state: failed test (failure) Revision: d7768acc697735cc7498ddc891a1065439ba1d6f Worker: debian-ppc64

☠ Buildbot (Sourceware): elfutils - failed test (failure) (main)

2024-02-29 Thread builder
A new failure has been detected on builder elfutils-debian-armhf while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/6/builds/270 Build state: failed test (failure) Revision: 517c773b0242fe3665e5082a06fd5816edbe4b21 Worker: debian-armhf

☺ Buildbot (Sourceware): elfutils - build successful (main)

2024-02-29 Thread builder
A restored build has been detected on builder elfutils-debian-armhf while building elfutils. Full details are available at: https://builder.sourceware.org/buildbot/#/builders/6/builds/271 Build state: build successful Revision: 94743d5239ea96a84f974c8ce02e4b4c43a84e13 Worker: debian-armhf Bu

[COMMITTED] tests/run-getsrc-die.sh: Skip tests if objcopy fails

2024-02-29 Thread Aaron Merey
run-getsrc-die.sh uses objcopy to remove .debug_aranges from testfiles. Depending how objcopy is built, it may fail to recognize the format of the testfiles. Skip the remaining tests if objcopy fails. Signed-off-by: Aaron Merey --- tests/run-getsrc-die.sh | 36 --