]> Cypherpunks repositories - gostls13.git/commit
runtime: skip trailing wrappers in runtime_expandFinalInlineFrame
authorTolyan Korniltsev <korniltsev.anatoly@gmail.com>
Sat, 4 Feb 2023 06:53:34 +0000 (14:53 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 9 Feb 2023 20:43:56 +0000 (20:43 +0000)
commitf1855993f3aa0042014952b3a3ce80296df838b1
tree71fc5e776f65e1112e007aaa63f41990632180d9
parentb7736cbceb46d00fb1c8435e5c512635896985b6
runtime: skip trailing wrappers in runtime_expandFinalInlineFrame

The existing runtime_expandFinalInlineFrame implementation doesn't skip trailing wrappers, but
gentraceback does skip wrapper functions.
This change makes runtime_expandFinalInlineFrame handling wrapper functions consistent to gentraceback.

Fixes #58288

Change-Id: I1b0e2c10b0a89bcb1e787b98d27730cb40a34406
Reviewed-on: https://go-review.googlesource.com/c/go/+/465097
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: David Chase <drchase@google.com>
src/runtime/pprof/pprof_test.go
src/runtime/symtab.go