]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.3] runtime: do not trace past jmpdefer during pprof traceback...
authorRuss Cox <rsc@golang.org>
Thu, 12 Jun 2014 20:55:36 +0000 (16:55 -0400)
committerRuss Cox <rsc@golang.org>
Thu, 12 Jun 2014 20:55:36 +0000 (16:55 -0400)
commit1305c4ce9d0af20b84bacf9029f839ad8e56b392
tree8f2fb95b92164fbb20bf0817fa16d2851bd65c8d
parent5c196b842a59bbb723005f1f84bfc29f687c79ba
[release-branch.go1.3] runtime: do not trace past jmpdefer during pprof traceback on arm

««« CL 107970043 / b336da131a84
runtime: do not trace past jmpdefer during pprof traceback on arm

jmpdefer modifies PC, SP, and LR, and not atomically,
so walking past jmpdefer will often end up in a state
where the three are not a consistent execution snapshot.
This was causing warning messages a few frames later
when the traceback realized it was confused, but given
the right memory it could easily crash instead.

Update #8153

LGTM=minux, iant
R=golang-codereviews, minux, iant
CC=golang-codereviews, r
https://golang.org/cl/107970043
»»»

LGTM=r
R=golang-codereviews, r
CC=adg, golang-codereviews, iant
https://golang.org/cl/101260043
src/pkg/runtime/asm_arm.s
src/pkg/runtime/traceback_arm.c