Hi Mark, On Fri, Aug 16, 2024 at 5:38 PM Mark Wielaard <[email protected]> wrote: > > Hi, > > On Fri, Aug 02, 2024 at 07:38:07PM -0400, Aaron Merey wrote: > > From: Heather McIntyre <[email protected]> > > > > * libdw/libdw_findcu.c (__libdw_findcu): Add locking. > > > > Signed-off-by: Heather S. McIntyre <[email protected]> > > Signed-off-by: Aaron Merey <[email protected]> > > Signed-off-by: Mark Wielaard <[email protected]> > > > > --- > > v3 changes: > > Fix indentation and move rwlock_init calls to other patches in this > > series. > > So this is basically a lock around __libdw_intern_next_unit. But there > is also a call to __libdw_intern_next_unit from dwarf_formref_die. So > there should also be a lock there?
The locking around __libdw_intern_next_unit can be found in commit 2630bce74 (libdw: Make libdw_find_split_unit thread-safe). This patch was pushed as commit a0a2996d15. Aaron
