MCPcopy Create free account
hub / github.com/Binject/debug / LineToPC

Method LineToPC

gosym/symtab.go:513–539  ·  view source on GitHub ↗

LineToPC looks up the first program counter on the given line in the named file. It returns UnknownPathError or UnknownLineError if there is an error looking up this line.

(file string, line int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestPCLineFunction · 0.45

Calls 4

PCToFuncMethod · 0.95
UnknownFileErrorTypeAlias · 0.85
go12LineToPCMethod · 0.80
alineFromLineMethod · 0.80

Tested by 1

TestPCLineFunction · 0.36