summaryrefslogtreecommitdiff
path: root/src/liblink/asm6.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-06 13:19:08 -0400
committerRuss Cox <rsc@golang.org>2014-09-06 13:19:08 -0400
commit3c63238a55767eb0329761b3538362b67f66291e (patch)
tree5fc3426c74bfcc9a30d46c38d3f68afe37cc0679 /src/liblink/asm6.c
parent38481ac10bb2aff82282b12a26d989e70ca7b375 (diff)
downloadgo-3c63238a55767eb0329761b3538362b67f66291e.tar.gz
runtime: fix panic/wrapper/recover math
The gp->panicwrap adjustment is just fatally flawed. Now that there is a Panic.argp field, update that instead. That can be done on entry only, so that unwinding doesn't need to worry about undoing anything. The wrappers emit a few more instructions in the prologue but everything else in the system gets much simpler. It also fixes (without trying) a broken test I never checked in. Fixes issue 7491. LGTM=khr R=khr CC=dvyukov, golang-codereviews, iant, r https://codereview.appspot.com/135490044
Diffstat (limited to 'src/liblink/asm6.c')
0 files changed, 0 insertions, 0 deletions