mirror of
https://github.com/golang/go
synced 2024-11-18 06:34:53 -07:00
runtime: fix typo in FuncForPC doc
This commit is contained in:
parent
2a4e71c752
commit
b0d0de9308
@ -563,8 +563,8 @@ func moduledataverify1(datap *moduledata) {
|
|||||||
// given program counter address, or else nil.
|
// given program counter address, or else nil.
|
||||||
//
|
//
|
||||||
// If pc represents multiple functions because of inlining, it returns
|
// If pc represents multiple functions because of inlining, it returns
|
||||||
// the a *Func describing the innermost function, but with an entry
|
// the *Func describing the innermost function, but with an entry of
|
||||||
// of the outermost function.
|
// the outermost function.
|
||||||
func FuncForPC(pc uintptr) *Func {
|
func FuncForPC(pc uintptr) *Func {
|
||||||
f := findfunc(pc)
|
f := findfunc(pc)
|
||||||
if !f.valid() {
|
if !f.valid() {
|
||||||
|
Loading…
Reference in New Issue
Block a user