diff options
| author | cui fliter <imcusg@gmail.com> | 2022-11-03 15:39:41 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-11-07 19:48:30 +0000 |
| commit | 969bea8d59daa6bdd478b71f6e99d8b8f625a140 (patch) | |
| tree | 6cdfdb01c9a633fd897924568ca3565fec2b0f95 /src/runtime/traceback.go | |
| parent | 72ce9ba9cb640f1a2184389d1dc146d731882328 (diff) | |
| download | go-969bea8d59daa6bdd478b71f6e99d8b8f625a140.tar.xz | |
runtime: fix a few function names on comments
Change-Id: I9ef4898d68dfd06618c0bd8e23f81a1d2c77a836
Signed-off-by: cui fliter <imcusg@gmail.com>
Reviewed-on: https://go-review.googlesource.com/c/go/+/447460
Auto-Submit: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/traceback.go')
| -rw-r--r-- | src/runtime/traceback.go | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
