aboutsummaryrefslogtreecommitdiff
path: root/src/errors
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2023-02-14 11:50:30 -0500
committerAustin Clements <austin@google.com>2023-03-10 17:59:36 +0000
commit9872428a715a907a122ad705b5fa42f11a385664 (patch)
treef769ffa0154e59a60e97b9498f05519d7c85d91b /src/errors
parentc9b2da3f28195fab2dd8fc4133efd22409e9e29b (diff)
downloadgo-9872428a715a907a122ad705b5fa42f11a385664.tar.xz
runtime: move cgo traceback into unwinder
Currently, gentraceback's loop ends with a call to tracebackCgoContext to process cgo frames. This requires spreading various parts of the printing and pcbuf logic across these two functions. Clean this up by moving cgo unwinding into unwinder and then lifting the printing and pcbuf logic from tracebackCgoContext into gentraceback along with the other printing and pcbuf logic. Updates #54466. Change-Id: Ic71afaa5ae110c0ea5be9409e267e4284e36a8c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/468299 Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/errors')
0 files changed, 0 insertions, 0 deletions