Skip to content

Commit

Permalink
fixup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kcbanner committed Nov 25, 2022
1 parent bf4e46b commit 3c2f980
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions lib/std/debug.zig
Original file line number Diff line number Diff line change
Expand Up @@ -589,15 +589,7 @@ pub noinline fn walkStackWindows(addresses: []usize) usize {
if (windows.ntdll.RtlLookupFunctionEntry(current_regs.ip, &image_base, &history_table)) |runtime_function| {
var handler_data: ?*anyopaque = null;
var establisher_frame: u64 = undefined;
_ = windows.ntdll.RtlVirtualUnwind(
windows.UNW_FLAG_NHANDLER,
image_base,
current_regs.ip,
runtime_function,
&context,
&handler_data,
&establisher_frame,
null);
_ = windows.ntdll.RtlVirtualUnwind(windows.UNW_FLAG_NHANDLER, image_base, current_regs.ip, runtime_function, &context, &handler_data, &establisher_frame, null);
} else {
// leaf function
context.setIp(@intToPtr(*u64, current_regs.sp).*);
Expand Down

0 comments on commit 3c2f980

Please sign in to comment.