• Austin Clements's avatar
    runtime: fix abort handling on arm64 · 0def0f2e
    Austin Clements authored
    The implementation of runtime.abort on arm64 currently branches to
    address 0, which results in a signal from PC 0, rather than from
    runtime.abort, so the runtime fails to recognize it as an abort.
    
    Fix runtime.abort on arm64 to read from address 0 like what other
    architectures do and recognize this in the signal handler.
    
    Should fix the linux/arm64 build.
    
    Change-Id: I960ab630daaeadc9190287604d4d8337b1ea3853
    Reviewed-on: https://go-review.googlesource.com/99895
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    0def0f2e
asm_arm64.s 21.9 KB