aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/traceback.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/traceback.go')
-rw-r--r--src/runtime/traceback.go4
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 {