| author | |
| committer | |
| log | 6c25d2bd58e4b5a002a7d1cd2882dd4e7ef23b6f |
| tree | 9c9da153ead0686e795b503306f9d04294fe53db |
| parent | 97262708460d552e102f003cc3202b40fe744e1d |
1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/debug/SelfInfo/Elf.zig+3| ... | ... | @@ -428,6 +428,9 @@ fn findModule(si: *SelfInfo, gpa: Allocator, io: Io, address: usize, lock: enum |
| 428 | 428 | // Rebuild module list with the exclusive lock. |
| 429 | 429 | { |
| 430 | 430 | errdefer si.rwlock.unlock(io); |
| 431 | if (si.unwind_cache) |cache| { | |
| 432 | @memset(cache, .empty); | |
| 433 | } | |
| 431 | 434 | for (si.modules.items) |*mod| { |
| 432 | 435 | unwind: { |
| 433 | 436 | const u = &(mod.unwind orelse break :unwind catch break :unwind); |