aboutsummaryrefslogtreecommitdiff
path: root/lib/std/process.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-10-09 09:49:27 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-10-10 04:43:15 +0200
commitf33d3a516631be2566116b16fa2f9d5774fa62cc (patch)
tree7e6c82d217bc8fdb51d14b3feab119952b7a7a87 /lib/std/process.zig
parent3f5e782357bbd89e604ff8ba214eb41fe56c8ff7 (diff)
downloadzig-f33d3a516631be2566116b16fa2f9d5774fa62cc.tar.gz
zig-f33d3a516631be2566116b16fa2f9d5774fa62cc.zip
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.
Diffstat (limited to 'lib/std/process.zig')
0 files changed, 0 insertions, 0 deletions