[PATCH 3/9 v4] libdwP.h: Add locking to str_offsets_base_off

Mark Wielaard mark@klomp.org
Wed Mar 26 18:00:31 GMT 2025


Hi Aaron,

On Sun, 2025-03-16 at 21:51 -0400, Aaron Merey wrote:
> 	* 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>
> ---
> v3: https://patchwork.sourceware.org/project/elfutils/patch/20250220043644.2058519-3-amerey@redhat.com/
> 
> v4: simplify unlocking in str_offsets_base_off.

Thanks this looks good. I believe that means the whole series is
finally fully reviewed and approved. So please do push it.

Cheers,

Mark


More information about the Elfutils-devel mailing list