| ... | @@ -149,8 +149,9 @@ pub const UnwindContext = struct { | ... | @@ -149,8 +149,9 @@ pub const UnwindContext = struct { |
| 149 | return ctx.cur.getRegs().bp; | 149 | return ctx.cur.getRegs().bp; |
| 150 | } | 150 | } |
| 151 | }; | 151 | }; |
| 152 | pub fn unwindFrame(si: *SelfInfo, gpa: Allocator, context: *UnwindContext) Error!usize { | 152 | pub fn unwindFrame(si: *SelfInfo, gpa: Allocator, io: Io, context: *UnwindContext) Error!usize { |
| 153 | _ = si; | 153 | _ = si; |
| | 154 | _ = io; |
| 154 | _ = gpa; | 155 | _ = gpa; |
| 155 | | 156 | |
| 156 | const current_regs = context.cur.getRegs(); | 157 | const current_regs = context.cur.getRegs(); |
| ... | @@ -391,7 +392,7 @@ const Module = struct { | ... | @@ -391,7 +392,7 @@ const Module = struct { |
| 391 | .section_view = section_view, | 392 | .section_view = section_view, |
| 392 | }; | 393 | }; |
| 393 | }; | 394 | }; |
| 394 | errdefer if (mapped_file) |*mf| mf.deinit(); | 395 | errdefer if (mapped_file) |*mf| mf.deinit(io); |
| 395 | | 396 | |
| 396 | const coff_image_base = coff_obj.getImageBase(); | 397 | const coff_image_base = coff_obj.getImageBase(); |
| 397 | | 398 | |