]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwP.h: Add locking to __libdw_dieabbrev
authorHeather McIntyre <hsm2@rice.edu>
Tue, 16 Jul 2024 16:25:57 +0000 (12:25 -0400)
committerAaron Merey <amerey@redhat.com>
Wed, 21 Aug 2024 00:19:13 +0000 (20:19 -0400)
commit28b74a1bf73b86ec461c20e17c405d8b64bdba77
tree62ac29ae0d99c49f81dc41cdb346ca012a2cd4dd
parent7c4fcff44aecc0eaff937e73854c5aa3469fe36b
libdwP.h: Add locking to __libdw_dieabbrev

* libdw/dwarf_end.c (cu_free): Free abbrev_lock.
        * libdw/libdwP.h (__libdw_dieabbrev): Add locking.
  (struct Dwarf_CU): Define abbrev_lock.
* libdw/libdw_findcu.c (__libdw_intern_next_unit): Init
  abbrev_lock.

Signed-off-by: Heather S. McIntyre <hsm2@rice.edu>
Signed-off-by: Aaron Merey <amerey@redhat.com>
Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/dwarf_end.c
libdw/libdwP.h
libdw/libdw_findcu.c