diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-24 12:08:26 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-25 04:28:30 -0400 |
| commit | b55377a5ab34ba17336d25a9336a3bc18f535c43 (patch) | |
| tree | 1111a2b1f4f3f808a4f08b554c16be97be3d3b66 /lib/std/debug.zig | |
| parent | 030da45c8e8437d31e7443077f8f2493d334a7d1 (diff) | |
| download | zig-b55377a5ab34ba17336d25a9336a3bc18f535c43.tar.gz zig-b55377a5ab34ba17336d25a9336a3bc18f535c43.zip | |
x86_64: pass more tests
* 128-bit integer multiplication with overflow
* more instruction encodings used by std inline asm
* implement the `try_ptr` air instruction
* follow correct stack frame abi
* enable full panic handler
* enable stack traces
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 9598e65b49..bf3d2e9d5e 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -671,8 +671,8 @@ pub const StackIterator = struct { if (self.unwind_state) |*unwind_state| { if (!unwind_state.failed) { if (unwind_state.dwarf_context.pc == 0) return null; + defer self.fp = unwind_state.dwarf_context.getFp() catch 0; if (self.next_unwind()) |return_address| { - self.fp = unwind_state.dwarf_context.getFp() catch 0; return return_address; } else |err| { unwind_state.last_error = err; |
