mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
SelfInfo.Windows: a few fixes for std.Io
This commit is contained in:
parent
2f30b0f44d
commit
f96ef9780a
1 changed files with 3 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue