]> Cypherpunks repositories - gostls13.git/commit
runtime: fix off-by-one error finding module for PC
authorIan Lance Taylor <iant@golang.org>
Fri, 4 Mar 2016 19:29:55 +0000 (11:29 -0800)
committerAndrew Gerrand <adg@golang.org>
Thu, 14 Apr 2016 05:23:37 +0000 (05:23 +0000)
commit85f28edd58581554b4250b769d2a0bc805be6fb2
tree3066882f67897210ddedb7d5673b6045113c34ee
parent2d22b845d92212071d698264f2445e957ff1106f
runtime: fix off-by-one error finding module for PC

Also fix compiler-invoked panics to avoid a confusing "malloc deadlock"
crash if they are invoked while executing the runtime.

Fixes #14599.

Change-Id: I89436abcbf3587901909abbdca1973301654a76e
Reviewed-on: https://go-review.googlesource.com/20219
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-on: https://go-review.googlesource.com/22042
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/crash_cgo_test.go
src/runtime/panic.go
src/runtime/symtab.go
src/runtime/testdata/testprogcgo/aprof.go [new file with mode: 0644]