MCPcopy Index your code
hub / github.com/pkg/errors / pc

Method pc

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

pc returns the program counter for this frame; multiple frames may have the same PC value.

()

Source from the content-addressed store, hash-verified

17// pc returns the program counter for this frame;
18// multiple frames may have the same PC value.
19func (f Frame) pc() uintptr { return uintptr(f) - 1 }
20
21// file returns the full path to the file that contains the
22// function for this Frame's pc.

Callers 3

fileMethod · 0.95
lineMethod · 0.95
nameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected