diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-05-12 15:09:44 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-05-23 11:12:53 -0400 |
commit | e95749bd0d5579d1e87eaef0d667f23591bf3521 (patch) | |
tree | 6a5f8a0ec4aa2bc0e107efa69a2c972c234e6417 /gdb/make-init-c | |
parent | e82c588969ab1542d7fb32f675e190897e28b64d (diff) | |
download | binutils-e95749bd0d5579d1e87eaef0d667f23591bf3521.zip binutils-e95749bd0d5579d1e87eaef0d667f23591bf3521.tar.gz binutils-e95749bd0d5579d1e87eaef0d667f23591bf3521.tar.bz2 |
gdb/dwarf: allocate DWP dwarf2_section_info with new
For the same reason as explained in the previous patch (allocations on
obstacks aren't thread-safe), change the allocation of
dwarf2_section_info object for dwo files within dwp files to use "new".
The dwo_file::section object is not always owned by the dwo_file, so
introduce a new "dwo_file::section_holder" object that is only set when
the dwo_file owns the dwarf2_section_info.
Change-Id: I74c4608573c7a435bf3dadb83f96a805d21798a2
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/make-init-c')
0 files changed, 0 insertions, 0 deletions