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