On Sun, Mar 23, 2025 at 8:21 PM Tom Tromey <tom@tromey.com> wrote:
dwz_file::read_string calls 'read' on the section, but this isn't
needed as the sections have all been pre-read.

This patch makes this change, and refactors dwz_file a bit to make
this more obvious -- by making it clear that only the "static
constructor" can create a dwz_file.
---


Hi Tom,

I tested this on aarch64, Fedora 40 and this change causes no regressions.

Tested-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>