authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-10-19 20:44:06-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-10-29 06:20:50-07:00
logf98352eecf1db704b0e59ced1c6741734c3990ac
treef05f6326a229d60eabd5b2ba92d5ffaae5fe759b
parented7747e90fcf6c26860788d4b0aafdaa07c8e068

std.debug.SelfInfo: add missing io parameter to getSymbol


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

lib/std/debug/SelfInfo/Elf.zig+3-1
......@@ -28,7 +28,8 @@ pub fn deinit(si: *SelfInfo, gpa: Allocator) void {
2828 if (si.unwind_cache) |cache| gpa.free(cache);
2929}
3030
31pub fn getSymbol(si: *SelfInfo, gpa: Allocator, address: usize) Error!std.debug.Symbol {
31pub fn getSymbol(si: *SelfInfo, gpa: Allocator, io: Io, address: usize) Error!std.debug.Symbol {
32 _ = io;
3233 const module = try si.findModule(gpa, address, .exclusive);
3334 defer si.rwlock.unlock();
3435
......@@ -489,6 +490,7 @@ const DlIterContext = struct {
489490};
490491
491492const std = @import("std");
493const Io = std.Io;
492494const Allocator = std.mem.Allocator;
493495const Dwarf = std.debug.Dwarf;
494496const Error = std.debug.SelfInfoError;