mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
dwarf: write the CFA as SP before the register update, in case the SP itself is updated by a column rule
This commit is contained in:
parent
97bda56306
commit
1a2bb70956
@ -1810,6 +1810,7 @@ pub const DwarfInfo = struct {
|
||||
}
|
||||
}
|
||||
|
||||
(try abi.regValueNative(usize, context.thread_context, abi.spRegNum(context.reg_context), context.reg_context)).* = context.cfa.?;
|
||||
while (update_tail) |tail| {
|
||||
@memcpy(tail.old_value, tail.new_value);
|
||||
update_tail = tail.prev;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user