authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-18 10:35:14+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-09-30 13:44:55+01:00
log23d6381e8b5fb63bc9cba5cc5c78b7946ca4746a
tree46c47c1ae9401076c4bc2a3abc3e366c4c4a3ea3
parent0c24b8ec66e7f8ade2b1014fd5c06110354bcf43
signaturelock-open Commit is signed but in an unrecognized format.

std.debug: fix typo


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/debug/SelfInfo/DarwinModule.zig+1-1
...@@ -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);