]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwP.h: Add locking to str_offsets_base_off
authorAaron Merey <amerey@redhat.com>
Mon, 17 Mar 2025 01:51:02 +0000 (21:51 -0400)
committerAaron Merey <amerey@redhat.com>
Wed, 26 Mar 2025 21:01:24 +0000 (17:01 -0400)
commit5580435eee04c44b8a7d93d30b58fa82a0cea539
tree7a4f9bd20399d1618b8e9bcb8fca00657764bb75
parent1b3aa450f3d50d3b4270f6fff4e7fa390af9d461
libdwP.h: Add locking to str_offsets_base_off

* libdw/dwarf_end.c (cu_free): Free str_off_base_lock.
* libdw/libdwP.h (struct Dwarf_CU): Add str_off_base_lock member.
(str_offsets_base_off): Add locking.
* libdw/libdw_findcu.c (__libdw_intern_next_unit): Initialize
str_off_base_lock.

Signed-off-by: Aaron Merey <amerey@redhat.com>
libdw/dwarf_end.c
libdw/libdwP.h
libdw/libdw_findcu.c