diff options
| author | Aaron Merey <[email protected]> | 2024-06-28 18:42:04 -0400 |
|---|---|---|
| committer | Aaron Merey <[email protected]> | 2024-06-28 18:42:04 -0400 |
| commit | 59c79985c72f62f5c86bc5f9d02be60b71189128 (patch) | |
| tree | b17169d0bfa9fe3d87feb23abd357cbbaf47b292 /libdw/dwarf_hasattr.c | |
| parent | 84df268c5c89bd54cfc345f7ac325602ae952bf2 (diff) | |
fix deadlock, leaksupstream/users/amerey/thread_safety
Diffstat (limited to 'libdw/dwarf_hasattr.c')
| -rw-r--r-- | libdw/dwarf_hasattr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libdw/dwarf_hasattr.c b/libdw/dwarf_hasattr.c index d5dde591..08c28845 100644 --- a/libdw/dwarf_hasattr.c +++ b/libdw/dwarf_hasattr.c @@ -44,13 +44,9 @@ dwarf_hasattr (Dwarf_Die *die, unsigned int search_name) if (die == NULL) return 0; - //rwlock_wrlock(die_abbrev_lock); - /* Find the abbreviation entry. */ Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, NULL); - //rwlock_unlock(die_abbrev_lock); - if (unlikely (abbrevp == DWARF_END_ABBREV)) { __libdw_seterrno (DWARF_E_INVALID_DWARF); |
