• Russ Cox's avatar
    runtime, reflect: use correctly aligned stack frame sizes on arm64 · 42122057
    Russ Cox authored
    arm64 requires either no stack frame or a frame with a size that is 8 mod 16
    (adding the saved LR will make it 16-aligned).
    
    The cmd/internal/obj/arm64 has been silently aligning frames, but it led to
    a terrible bug when the compiler and obj disagreed on the frame size,
    and it's just generally confusing, so we're going to make misaligned frames
    an error instead of something that is silently changed.
    
    This CL prepares by updating assembly files.
    Note that the changes in this CL are already being done silently by
    cmd/internal/obj/arm64, so there is no semantic effect here,
    just a clarity effect.
    
    For #9880.
    
    Change-Id: Ibd6928dc5fdcd896c2bacd0291bf26b364591e28
    Reviewed-on: https://go-review.googlesource.com/12845Reviewed-by: 's avatarAustin Clements <austin@google.com>
    42122057
Name
Last commit
Last update
..
all_test.go Loading commit data...
asm_386.s Loading commit data...
asm_amd64.s Loading commit data...
asm_amd64p32.s Loading commit data...
asm_arm.s Loading commit data...
asm_arm64.s Loading commit data...
asm_ppc64x.s Loading commit data...
deepequal.go Loading commit data...
example_test.go Loading commit data...
export_test.go Loading commit data...
makefunc.go Loading commit data...
set_test.go Loading commit data...
tostring_test.go Loading commit data...
type.go Loading commit data...
value.go Loading commit data...