mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.debug.SelfInfo: add missing io parameter to getSymbol
This commit is contained in:
parent
ed7747e90f
commit
f98352eecf
1 changed files with 3 additions and 1 deletions
|
|
@ -28,7 +28,8 @@ pub fn deinit(si: *SelfInfo, gpa: Allocator) void {
|
|||
if (si.unwind_cache) |cache| gpa.free(cache);
|
||||
}
|
||||
|
||||
pub fn getSymbol(si: *SelfInfo, gpa: Allocator, address: usize) Error!std.debug.Symbol {
|
||||
pub fn getSymbol(si: *SelfInfo, gpa: Allocator, io: Io, address: usize) Error!std.debug.Symbol {
|
||||
_ = io;
|
||||
const module = try si.findModule(gpa, address, .exclusive);
|
||||
defer si.rwlock.unlock();
|
||||
|
||||
|
|
@ -489,6 +490,7 @@ const DlIterContext = struct {
|
|||
};
|
||||
|
||||
const std = @import("std");
|
||||
const Io = std.Io;
|
||||
const Allocator = std.mem.Allocator;
|
||||
const Dwarf = std.debug.Dwarf;
|
||||
const Error = std.debug.SelfInfoError;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue