| ... | @@ -203,7 +203,7 @@ fn loadMachO(module: *const DarwinModule, gpa: Allocator) !DebugInfo.LoadedMachO | ... | @@ -203,7 +203,7 @@ fn loadMachO(module: *const DarwinModule, gpa: Allocator) !DebugInfo.LoadedMachO |
| 203 | .fun_size => { | 203 | .fun_size => { |
| 204 | state = .ensym; | 204 | state = .ensym; |
| 205 | if (last_sym.strx != 0) { | 205 | if (last_sym.strx != 0) { |
| 206 | const name = std.mem.sliceTo(strings[sym.n_strx..], 0); | 206 | const name = std.mem.sliceTo(strings[last_sym.strx..], 0); |
| 207 | const gop = symbol_names.getOrPutAssumeCapacity(name); | 207 | const gop = symbol_names.getOrPutAssumeCapacity(name); |
| 208 | if (!gop.found_existing) { | 208 | if (!gop.found_existing) { |
| 209 | assert(gop.index == symbols.items.len); | 209 | assert(gop.index == symbols.items.len); |