mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
SelfInfo.Windows: a few fixes for std.Io
This commit is contained in:
committed by
Andrew Kelley
parent
2f30b0f44d
commit
f96ef9780a
@@ -149,8 +149,9 @@ pub const UnwindContext = struct {
|
||||
return ctx.cur.getRegs().bp;
|
||||
}
|
||||
};
|
||||
pub fn unwindFrame(si: *SelfInfo, gpa: Allocator, context: *UnwindContext) Error!usize {
|
||||
pub fn unwindFrame(si: *SelfInfo, gpa: Allocator, io: Io, context: *UnwindContext) Error!usize {
|
||||
_ = si;
|
||||
_ = io;
|
||||
_ = gpa;
|
||||
|
||||
const current_regs = context.cur.getRegs();
|
||||
@@ -391,7 +392,7 @@ const Module = struct {
|
||||
.section_view = section_view,
|
||||
};
|
||||
};
|
||||
errdefer if (mapped_file) |*mf| mf.deinit();
|
||||
errdefer if (mapped_file) |*mf| mf.deinit(io);
|
||||
|
||||
const coff_image_base = coff_obj.getImageBase();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user