aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/malloc.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-05 14:58:54 -0400
committerRuss Cox <rsc@golang.org>2014-09-05 14:58:54 -0400
commit4b3906fec35b81e9bce7af5e1ce64c2a431c8301 (patch)
tree8f93148ca742f482807ce75b1ab4f9bf7cd278de /src/pkg/runtime/malloc.go
parentf93e21ac24935304bf0e05ea6c7e36c56077011e (diff)
downloadgo-4b3906fec35b81e9bce7af5e1ce64c2a431c8301.tar.xz
runtime: handle nil ptr load/store in arm software floating point
We cannot let a real panic start there, because there is C code on the stack, and worse, there is an assembly frame with a saved copy of the registers and we have no idea which ones are pointers. Instead, detect the nil ptr load/store and return out of the C and assembly into a stub that will start the call to sigpanic. Fixes GOARM=5 build. LGTM=iant R=golang-codereviews, iant CC=dave, golang-codereviews, minux, r https://golang.org/cl/138130043
Diffstat (limited to 'src/pkg/runtime/malloc.go')
0 files changed, 0 insertions, 0 deletions