zig/lib/std/debug
Alex Rønne Petersen f33d3a5166
std.debug: greatly expand target support for segfault handling/unwinding
I made a couple of decisions for this based on the fact that we don't expose the
signal_ucontext_t type outside of the file:

* Adding all the floating point and vector state to every ucontext_t and
  mcontext_t variant was way, way too much work, especially when we don't even
  use the stuff. So I deleted all that and kept only the bare minimum needed to
  reach into general-purpose registers.
* There is no particularly compelling reason to stick to the naming and struct
  nesting used in the system headers. So we can actually unify the access
  patterns for almost all of these variants by taking some liberties here; as a
  result, fromPosixSignalContext() is now much nicer to read and extend.
2025-10-10 04:43:15 +02:00
..
Dwarf Merge pull request #25493 from alexrp/std-debug-mips-ppc 2025-10-08 06:29:28 +02:00
SelfInfo std.debug: greatly expand target support for segfault handling/unwinding 2025-10-10 04:43:15 +02:00
Coverage.zig std: fix debug.Info and debug.Coverage 2025-09-30 13:44:52 +01:00
cpu_context.zig std.debug: greatly expand target support for segfault handling/unwinding 2025-10-10 04:43:15 +02:00
Dwarf.zig std.debug.Dwarf: use 66 as the (fake) MIPS PC register 2025-10-07 16:47:57 +02:00
ElfFile.zig std: fix 32-bit build and some unsafe casts 2025-09-30 13:44:53 +01:00
Info.zig std: replace debug.Dwarf.ElfModule with debug.ElfFile 2025-09-30 13:44:52 +01:00
no_panic.zig std: remove old panic handlers after zig1.wasm update 2025-06-01 12:10:57 +01:00
Pdb.zig std: work around crash parsing LLVM PDB 2025-09-30 13:44:55 +01:00
simple_panic.zig std.io: move getStdIn, getStdOut, getStdErr functions to fs.File 2025-07-07 22:43:51 -07:00