| ... | @@ -428,6 +428,9 @@ fn findModule(si: *SelfInfo, gpa: Allocator, io: Io, address: usize, lock: enum | ... | @@ -428,6 +428,9 @@ fn findModule(si: *SelfInfo, gpa: Allocator, io: Io, address: usize, lock: enum |
| 428 | // Rebuild module list with the exclusive lock. | 428 | // Rebuild module list with the exclusive lock. |
| 429 | { | 429 | { |
| 430 | errdefer si.rwlock.unlock(io); | 430 | errdefer si.rwlock.unlock(io); |
| | 431 | if (si.unwind_cache) |cache| { |
| | 432 | @memset(cache, .empty); |
| | 433 | } |
| 431 | for (si.modules.items) |*mod| { | 434 | for (si.modules.items) |*mod| { |
| 432 | unwind: { | 435 | unwind: { |
| 433 | const u = &(mod.unwind orelse break :unwind catch break :unwind); | 436 | const u = &(mod.unwind orelse break :unwind catch break :unwind); |