mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.debug: fix typo
This commit is contained in:
parent
0c24b8ec66
commit
23d6381e8b
@ -203,7 +203,7 @@ fn loadMachO(module: *const DarwinModule, gpa: Allocator) !DebugInfo.LoadedMachO
|
||||
.fun_size => {
|
||||
state = .ensym;
|
||||
if (last_sym.strx != 0) {
|
||||
const name = std.mem.sliceTo(strings[sym.n_strx..], 0);
|
||||
const name = std.mem.sliceTo(strings[last_sym.strx..], 0);
|
||||
const gop = symbol_names.getOrPutAssumeCapacity(name);
|
||||
if (!gop.found_existing) {
|
||||
assert(gop.index == symbols.items.len);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user