]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate waspanic from gentraceback
authorAustin Clements <austin@google.com>
Sun, 17 Jul 2022 19:43:01 +0000 (15:43 -0400)
committerAustin Clements <austin@google.com>
Fri, 10 Mar 2023 17:18:23 +0000 (17:18 +0000)
commit5acd2d658ee87e5b4d73ff815e5ed41d4e4b77f3
treeae25dacb72c7535008dbdbf7c9b98e9959d8822e
parent4f132b7ef862d83390feb074be3e04109e43adaa
runtime: eliminate waspanic from gentraceback

gentraceback also tracks the funcID of the callee, which is more
general. Fix this up to happen in all cases and eliminate waspanic in
favor of checking the funcID of the caller.

For #54466.

Change-Id: Idc98365a6f05022db18ddcd5b3ed8684a6872a88
Reviewed-on: https://go-review.googlesource.com/c/go/+/458216
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Felix Geisendörfer <felix.geisendoerfer@datadoghq.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/runtime/traceback.go