]> Cypherpunks repositories - gostls13.git/commit
runtime: new API for filling PC traceback buffers
authorAustin Clements <austin@google.com>
Tue, 14 Feb 2023 17:25:11 +0000 (12:25 -0500)
committerAustin Clements <austin@google.com>
Fri, 10 Mar 2023 17:59:37 +0000 (17:59 +0000)
commit3e360b035f4c3014e9564f4994c68ccc296ef629
tree1eddb9edefe065d015026fe628b8b62e7f7e3320
parent9872428a715a907a122ad705b5fa42f11a385664
runtime: new API for filling PC traceback buffers

Currently, filling PC traceback buffers is one of the jobs of
gentraceback. This moves it into a new function, tracebackPCs, with a
simple API built around unwinder, and changes all callers to use this
new API.

Updates #54466.

Change-Id: Id2038bded81bf533a5a4e71178a7c014904d938c
Reviewed-on: https://go-review.googlesource.com/c/go/+/468300
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
src/runtime/export_test.go
src/runtime/mprof.go
src/runtime/proc.go
src/runtime/traceback.go