aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/symtab.go
diff options
context:
space:
mode:
authorLeon Klingele <git@leonklingele.de>2019-02-22 15:53:52 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2019-02-26 23:02:05 +0000
commitd090429ea9af7cc2958fd95460196b02212c2b62 (patch)
tree7012d24ab7187e9e629288a21096da3ab07cfeac /src/runtime/symtab.go
parent337662f7caef76abd0122edffdc1f7f8102f19f8 (diff)
downloadgo-d090429ea9af7cc2958fd95460196b02212c2b62.tar.gz
go-d090429ea9af7cc2958fd95460196b02212c2b62.zip
all: fix typos as reported by 'misspell'
Change-Id: I904b8655f21743189814bccf24073b6fbb9fc56d GitHub-Last-Rev: b032c14394c949f9ad7b18d019a3979d38d4e1fb GitHub-Pull-Request: golang/go#29997 Reviewed-on: https://go-review.googlesource.com/c/160421 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/symtab.go')
-rw-r--r--src/runtime/symtab.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go
index 17e342ef69..a7538482dc 100644
--- a/src/runtime/symtab.go
+++ b/src/runtime/symtab.go
@@ -475,7 +475,7 @@ func FuncForPC(pc uintptr) *Func {
}
if inldata := funcdata(f, _FUNCDATA_InlTree); inldata != nil {
// Note: strict=false so bad PCs (those between functions) don't crash the runtime.
- // We just report the preceeding function in that situation. See issue 29735.
+ // We just report the preceding function in that situation. See issue 29735.
// TODO: Perhaps we should report no function at all in that case.
// The runtime currently doesn't have function end info, alas.
if ix := pcdatavalue1(f, _PCDATA_InlTreeIndex, pc, nil, false); ix >= 0 {