]> Cypherpunks repositories - gostls13.git/commit
runtime: print exported methods from the runtime in tracebacks
authorKeith Randall <khr@golang.org>
Mon, 3 Jul 2023 20:49:26 +0000 (13:49 -0700)
committerKeith Randall <khr@golang.org>
Tue, 30 Jan 2024 17:07:25 +0000 (17:07 +0000)
commita0d477cb6d3173c860583ccf7aa7919687bddbca
treec6f83e1044a20de95ad87a56fdc5b16f4802b587
parent65f056d07ad1db7dd4fb23c4d35cf7b8bd0d6008
runtime: print exported methods from the runtime in tracebacks

We currently suppress runtime frames in tracebacks, except for
exported functions.
This CL also prints exported methods of exported types
in tracebacks, for consistency.

Change-Id: Ic65e7611621f0b210de5ae0c02b9d0a044f39fd6
Reviewed-on: https://go-review.googlesource.com/c/go/+/507736
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/runtime/crash_test.go
src/runtime/traceback.go