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

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

2024-02-26 Thread Omar Sandoval
From: Omar Sandoval 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 unlikely to matter in practice since CUs usually correspond 1:1 wi