View definition

(*Process).FindFunctionLocation

Defined in github.com/derekparker/delve/proc/proc.go

Description

FindFunctionLocation finds address of a function's line If firstLine == true is passed FindFunctionLocation will attempt to find the first line of the function If lineOffset is passed FindFunctionLocation will return the address of that line Pass lineOffset == 0 and firstLine == false if you want the address for the function's entry point Note that setting breakpoints at that address will cause surprising behavior: https://github.com/derekparker/delve/issues/170

FindFunctionLocation is referenced in 1 repository

github.com/derekparker/delve