std.debug.cpu_context: fix mcontext alignment for x86_64-illumos

It contains a upad128_t array which increases its alignment.
This commit is contained in:
Alex Rønne Petersen 2025-10-26 07:50:23 +01:00
parent 0ec45050e0
commit c9e0df97f9

View File

@ -1997,7 +1997,7 @@ const signal_ucontext_t = switch (native_os) {
},
// https://github.com/illumos/illumos-gate/blob/d4ce137bba3bd16823db6374d9e9a643264ce245/usr/src/uts/intel/sys/mcontext.h
.x86_64 => extern struct {
r15: u64,
r15: u64 align(16),
r14: u64,
r13: u64,
r12: u64,