diff options
author | Tom Tromey <tom@tromey.com> | 2025-03-22 10:39:43 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2025-04-22 15:34:01 -0600 |
commit | 1e1ef933d114b6c144785b4478346d75499c4d3d (patch) | |
tree | 2b1dc2cc9872257229cd61afc230c24393c98904 /libctf/ctf-open.c | |
parent | 423ea23eeee957469f87e329a76726bc10919b20 (diff) | |
download | binutils-1e1ef933d114b6c144785b4478346d75499c4d3d.zip binutils-1e1ef933d114b6c144785b4478346d75499c4d3d.tar.gz binutils-1e1ef933d114b6c144785b4478346d75499c4d3d.tar.bz2 |
Remove 'read' call from dwz_file::read_string
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.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Tested-By: Alexandra Petlanova Hajkova <ahajkova@redhat.com>
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions