MCPcopy Index your code
hub / github.com/chain/txvm / getStack

Function getStack

errors/stack.go:16–19  ·  view source on GitHub ↗

getStack is an allocating wrapper around runtime.Callers.

(skip int, max int)

Source from the content-addressed store, hash-verified

14
15// getStack is an allocating wrapper around runtime.Callers.
16func getStack(skip int, max int) []uintptr {
17 pcs := make([]uintptr, max)
18 return pcs[:runtime.Callers(skip+1, pcs)]
19}

Callers 1

wrapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected