]> Cypherpunks repositories - gostls13.git/commit
runtime: stop traceback at foreign function
authorRuss Cox <rsc@golang.org>
Wed, 6 Jan 2016 17:45:23 +0000 (12:45 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 6 May 2016 00:54:25 +0000 (00:54 +0000)
commit88d3db0a5b5196ed45c96014d5a2d32e4e41e34e
tree20c309ee5e8b26e8b356d220fd0fbf5521912d45
parenta633d766d1763f4f4648e423c4e8a8635b183d03
runtime: stop traceback at foreign function

This can only happen when profiling and there is foreign code
at the top of the g0 stack but we're not in cgo.
That in turn only happens with the race detector.

Fixes #13568.

Change-Id: I23775132c9c1a3a3aaae191b318539f368adf25e
Reviewed-on: https://go-review.googlesource.com/18322
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/traceback.go