MCPcopy Create free account
hub / github.com/google/pprof / SourceLine

Method SourceLine

browsertests/testutils.go:71–73  ·  view source on GitHub ↗
(addr uint64)

Source from the content-addressed store, hash-verified

69func (f fakeObj) ObjAddr(addr uint64) (uint64, error) { return addr, nil }
70func (f fakeObj) BuildID() string { return "" }
71func (f fakeObj) SourceLine(addr uint64) ([]driver.Frame, error) {
72 return nil, fmt.Errorf("SourceLine unimplemented")
73}
74func (f fakeObj) Symbols(r *regexp.Regexp, addr uint64) ([]*driver.Sym, error) {
75 return []*driver.Sym{
76 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected