MCPcopy
hub / github.com/duke-git/lancet / pc

Method pc

xerror/stack.go:76–76  ·  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

74// pc returns the program counter for this frame;
75// multiple frames may have the same PC value.
76func (f frame) pc() uintptr { return uintptr(f) - 1 }
77
78// file returns the full path to the file that contains the
79// 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