| ... | ... | @@ -28,7 +28,8 @@ pub fn deinit(si: *SelfInfo, gpa: Allocator) void { |
| 28 | 28 | if (si.unwind_cache) |cache| gpa.free(cache); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | | pub fn getSymbol(si: *SelfInfo, gpa: Allocator, address: usize) Error!std.debug.Symbol { |
| 31 | pub fn getSymbol(si: *SelfInfo, gpa: Allocator, io: Io, address: usize) Error!std.debug.Symbol { |
| 32 | _ = io; |
| 32 | 33 | const module = try si.findModule(gpa, address, .exclusive); |
| 33 | 34 | defer si.rwlock.unlock(); |
| 34 | 35 | |
| ... | ... | @@ -489,6 +490,7 @@ const DlIterContext = struct { |
| 489 | 490 | }; |
| 490 | 491 | |
| 491 | 492 | const std = @import("std"); |
| 493 | const Io = std.Io; |
| 492 | 494 | const Allocator = std.mem.Allocator; |
| 493 | 495 | const Dwarf = std.debug.Dwarf; |
| 494 | 496 | const Error = std.debug.SelfInfoError; |