MCPcopy Create free account
hub / github.com/bracesdev/errtrace / GetCaller

Function GetCaller

internal/pc/pc_asm.go:8–8  ·  view source on GitHub ↗

GetCaller returns the program counter of the caller's caller.

()

Source from the content-addressed store, hash-verified

6
7// GetCaller returns the program counter of the caller's caller.
8func GetCaller() uintptr
9
10// GetCallerSkip1 is similar to GetCaller, but skips an additional caller.
11func GetCallerSkip1() uintptr

Callers 9

WrapFunction · 0.92
Wrap2Function · 0.92
Wrap3Function · 0.92
Wrap4Function · 0.92
Wrap5Function · 0.92
Wrap6Function · 0.92
NewFunction · 0.92
ErrorfFunction · 0.92
wrapFunction · 0.70

Calls

no outgoing calls

Tested by 1

wrapFunction · 0.56