]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: print goid when throwing in gentraceback
authorMichael Pratt <mpratt@google.com>
Fri, 4 Mar 2022 16:17:43 +0000 (11:17 -0500)
committerMichael Pratt <mpratt@google.com>
Mon, 7 Mar 2022 16:24:54 +0000 (16:24 +0000)
commitcc9d3f548a0265124766dfdb45e77cf05579219d
treeaddea6aaa69141fc3d7676f8baa6eefc4dc89f1d
parent63bd6f68e6cbb237b46a99775103758afaee370a
runtime: print goid when throwing in gentraceback

This makes it easier to figure out where the crash is occurring.

Change-Id: Ie1f78a360367090dcd61c61b2a55c34f3e2ff2eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/390034
Trust: David Chase <drchase@google.com>
Reviewed-by: David Chase <drchase@google.com>
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/crash_test.go
src/runtime/traceback.go