aboutsummaryrefslogtreecommitdiff
path: root/src/internal/execabs
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2021-04-09 17:01:45 -0400
committerMichael Pratt <mpratt@google.com>2021-04-12 21:29:02 +0000
commitaad13cbb749d1e6c085ff0556d306de1a2d5d063 (patch)
treeabe14f4ed12d2a82166e894564a692711c39dff3 /src/internal/execabs
parent5c9b6e8e63e012513b1cb1a4a08ff23dec4137a1 (diff)
downloadgo-aad13cbb749d1e6c085ff0556d306de1a2d5d063.tar.xz
runtime: non-strict InlTreeIndex lookup in expandFinalInlineFrame
This is a follow-up to golang.org/cl/301369, which made the same change in Frames.Next. The same logic applies here: a profile stack may have been truncated at an invalid PC provided by cgoTraceback. expandFinalInlineFrame will then try to lookup the inline tree and crash. The same fix applies as well: upon encountering a bad PC, simply leave it as-is and move on. Fixes #44971 Fixes #45480 Change-Id: I2823c67a1f3425466b05384cc6d30f5fc8ee6ddc Reviewed-on: https://go-review.googlesource.com/c/go/+/309109 Reviewed-by: Michael Knyszek <mknyszek@google.com> Trust: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/internal/execabs')
0 files changed, 0 insertions, 0 deletions