()
| 109 | } |
| 110 | |
| 111 | func callStack() *stack { |
| 112 | const depth = 32 |
| 113 | var pcs [depth]uintptr |
| 114 | n := runtime.Callers(3, pcs[:]) |
| 115 | var st stack = pcs[0:n] |
| 116 | return &st |
| 117 | } |
| 118 | |
| 119 | // fundamental is an error that has a message and a stack, but no caller. |
| 120 | type traceError struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…