Re: [PATCH 13/16] libdw: Make libdw_findcu thread-safe

2023-10-17 Thread Heather McIntyre
Hi Mark, For the call to __libdw_intern_next_unit in __libdw_findcu, I have updated the locking to the per struct drawf lock. Although I have not encountered a data race report regarding the call to __libdw_intern_next_unit in dwarf_formref_die, I have also placed the updated locking there as well

Re: [PATCH 13/16] libdw: Make libdw_findcu thread-safe

2023-10-12 Thread Mark Wielaard
Hi Heather, On Tue, Oct 10, 2023 at 03:42:57PM +0200, Mark Wielaard wrote: > From: Heather McIntyre > > * libdw/libdw_findcu.c (findcu_cb): Use eu_tsearch. > (__libdw_findcu): Use eu_tfind and next_tucu_offset_lock. > (__libdw_findcu_addr): Use eu_tfind. > (__libdw_find_s

[PATCH 13/16] libdw: Make libdw_findcu thread-safe

2023-10-10 Thread Mark Wielaard
From: Heather McIntyre * libdw/libdw_findcu.c (findcu_cb): Use eu_tsearch. (__libdw_findcu): Use eu_tfind and next_tucu_offset_lock. (__libdw_findcu_addr): Use eu_tfind. (__libdw_find_split_dbg_addr): Likewise. Signed-off-by: Heather S. McIntyre Signed-off-by: Ma