aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2019-01-14 13:47:14 -0800
committerKeith Randall <khr@golang.org>2019-01-14 23:37:39 +0000
commit462e90259af39af9e23c9d919e002913042c2faa (patch)
tree61290a47ac5b2387921c1a0cd05e7f39c4d68c7b /src/encoding/json/encode.go
parente1d20ce25acfd8a1c5933453f34db5f589585eaa (diff)
downloadgo-462e90259af39af9e23c9d919e002913042c2faa.tar.xz
runtime: keep FuncForPC from crashing for PCs between functions
Reuse the strict mechanism from FileLine for FuncForPC, so we don't crash when asking the pcln table about bad pcs. Fixes #29735 Change-Id: Iaffb32498b8586ecf4eae03823e8aecef841aa68 Reviewed-on: https://go-review.googlesource.com/c/157799 Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions