mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
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:
parent
0ec45050e0
commit
c9e0df97f9
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user