From 969bea8d59daa6bdd478b71f6e99d8b8f625a140 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Thu, 3 Nov 2022 15:39:41 +0800 Subject: runtime: fix a few function names on comments Change-Id: I9ef4898d68dfd06618c0bd8e23f81a1d2c77a836 Signed-off-by: cui fliter Reviewed-on: https://go-review.googlesource.com/c/go/+/447460 Auto-Submit: Michael Pratt TryBot-Result: Gopher Robot Reviewed-by: Matthew Dempsky Reviewed-by: Michael Pratt Run-TryBot: Michael Pratt --- src/runtime/traceback.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime/traceback.go') diff --git a/src/runtime/traceback.go b/src/runtime/traceback.go index 794ea10407..37f35d5637 100644 --- a/src/runtime/traceback.go +++ b/src/runtime/traceback.go @@ -810,7 +810,7 @@ func printAncestorTraceback(ancestor ancestorInfo) { } } -// printAncestorTraceback prints the given function info at a given pc +// printAncestorTracebackFuncInfo prints the given function info at a given pc // within an ancestor traceback. The precision of this info is reduced // due to only have access to the pcs at the time of the caller // goroutine being created. @@ -1282,7 +1282,7 @@ type cgoSymbolizerArg struct { data uintptr } -// cgoTraceback prints a traceback of callers. +// printCgoTraceback prints a traceback of callers. func printCgoTraceback(callers *cgoCallers) { if cgoSymbolizer == nil { for _, c := range callers { -- cgit v1.3-6-g1900