aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack_test.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2023-02-05 22:02:03 -0500
committerAustin Clements <austin@google.com>2023-03-10 17:18:29 +0000
commitd829b626812cfe9ee53cb71ccdd75d3fa0eda265 (patch)
tree672ad19b188ae2efc770c5521271bba0ffdaf1ea /src/runtime/stack_test.go
parentf52bede354102a5e16e19381b93d4a469d1286d4 (diff)
downloadgo-d829b626812cfe9ee53cb71ccdd75d3fa0eda265.tar.xz
runtime: use srcFunc for showframe
Since srcFunc can represent information for either an real text function or an inlined function, this means we no longer have to synthesize a fake _func just to call showframe on an inlined frame. This is cleaner and also eliminates the one case where _func values live in the heap. This will let us mark them NotInHeap, which will in turn eliminate pesky write barriers in the traceback rewrite. For #54466. Change-Id: Ibf5e24d01ee4bf384c825e1a4e2922ef444a438e Reviewed-on: https://go-review.googlesource.com/c/go/+/466097 Run-TryBot: Austin Clements <austin@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/stack_test.go')
0 files changed, 0 insertions, 0 deletions