]> Cypherpunks repositories - gostls13.git/commit
runtime: print SP/FP on bad pointer crashes
authorAustin Clements <austin@google.com>
Tue, 7 Mar 2017 20:20:40 +0000 (15:20 -0500)
committerAustin Clements <austin@google.com>
Tue, 7 Mar 2017 20:46:54 +0000 (20:46 +0000)
commitb992c2649e6c30d25baeb3c26aba0e90b800a1f4
treee6fbc0ae65ff1ba4c03eefb79785aaf1a0f13af5
parentcaa7dacfd27beb493c262b18a9aae514863ddec7
runtime: print SP/FP on bad pointer crashes

If the bad pointer is on a stack, this makes it possible to find the
frame containing the bad pointer.

Change-Id: Ieda44e054aa9ebf22d15d184457c7610b056dded
Reviewed-on: https://go-review.googlesource.com/37858
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/mbitmap.go
src/runtime/mgcmark.go