MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / debugInfo

Method debugInfo

types/func.go:382–384  ·  view source on GitHub ↗

debugInfo reports whether debug info is wanted for this function.

()

Source from the content-addressed store, hash-verified

380
381// debugInfo reports whether debug info is wanted for this function.
382func (b *builder) debugInfo() bool {
383 return b.Prog.mode&GlobalDebug != 0
384}
385
386// addNamedLocal creates a local variable, adds it to function f and
387// returns it. Its name and type are taken from obj. Subsequent

Callers 2

selectStmtMethod · 0.95
emitDebugRefMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected