Home | History | Annotate | Download | only in runtime

Lines Matching refs:traceback

88 // Traceback over the deferred function calls.
119 // Generic traceback. Handles runtime stack prints (pcbuf == nil),
136 // we want to expose a traceback that begins on one stack and ends
519 // or when printing a traceback during a crash, everything may not be
530 throw("traceback has leftover defers")
537 throw("traceback has leftover stack barriers")
543 throw("traceback did not unwind completely")
651 func traceback(pc, sp, lr uintptr, gp *g) {
655 // tracebacktrap is like traceback but expects that the PC and SP were obtained
666 // If the goroutine is in cgo, and we have a cgo traceback, print that.
689 // Print traceback. By default, omits runtime frames.
799 traceback(^uintptr(0), ^uintptr(0), 0, gp)
817 traceback(^uintptr(0), ^uintptr(0), 0, gp)
846 // traceback information from C code and to convert that traceback
850 // The traceback and context functions may be called from a signal
870 // record the current traceback context. It should record in the
884 // out in the traceback function, in a typical program the context
886 // traceback for that context. Recording a complete stack trace in a
889 // The traceback function will be called with a single argument, a
908 // The Context field will be zero to gather a traceback from the
909 // current program execution point. In this case, the traceback
913 // the context function. The traceback function should gather a stack
914 // trace from that saved point in the program execution. The traceback
917 // valid and unchanging. The traceback function may also be called
919 // context. The traceback function may be called multiple times with
924 // If the traceback function is called from a signal handler on a Unix
928 // the traceback function is not called from a signal handler,
931 // Buf is where the traceback information should be stored. It should
967 // The PC field will be a value returned by a call to the traceback
970 // The first time the function is called for a particular traceback,
979 // called with the next PC value in the traceback. When the traceback
991 // the traceback function will be displayed as numbers. If the
992 // traceback function is nil, the symbolizer function will never be
994 // traceback function will only be called with the context field set
996 // to Go will not show a traceback for the C portion of the call stack.
999 func SetCgoTraceback(version int, traceback, context, symbolizer unsafe.Pointer) {
1004 if cgoTraceback != nil && cgoTraceback != traceback ||
1010 cgoTraceback = traceback
1049 // cgoTraceback prints a traceback of callers.
1072 // printOneCgoTraceback prints the traceback of a single cgo caller.
1118 // cgoContextPCs gets the PC values from a cgo traceback.