]> Cypherpunks repositories - gostls13.git/commit
runtime: allow omitting virtual PCs from runtime.CallersFrames input
authorRuss Cox <rsc@golang.org>
Thu, 14 Mar 2024 19:32:00 +0000 (15:32 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 15 Mar 2024 17:11:58 +0000 (17:11 +0000)
commit22f5e33031042ca2ac8521e4e7dc0783e8c0cdca
treec88ed60a4f54caddfe89542121a8ac9db4b2338b
parent88480fadcc5874f880623ca50713d0c62cc5259b
runtime: allow omitting virtual PCs from runtime.CallersFrames input

This makes CL 561635's test pass without any changes to the
traceback textual format.

The test in this CL is copied identically from CL 561635.

Change-Id: I5130abdfefd9940f98f20c283cca6cd159e37617
Reviewed-on: https://go-review.googlesource.com/c/go/+/571798
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/crash_test.go
src/runtime/symtab.go
src/runtime/traceback.go
src/runtime/traceback_system_test.go [new file with mode: 0644]