]> Cypherpunks repositories - gostls13.git/commit
runtime: traceback from outermost libc call
authorKeith Randall <khr@golang.org>
Mon, 16 Jul 2018 21:39:40 +0000 (14:39 -0700)
committerKeith Randall <khr@golang.org>
Tue, 24 Jul 2018 21:06:55 +0000 (21:06 +0000)
commitfe68ab3bcde97e3a325e4aa3c70f5f9172540453
tree2181dfee533b37de34b2bab525c88f4104c34942
parent5fc70b6fac0664f3f9d2c2948ba78db420ba70c5
runtime: traceback from outermost libc call

If we're in a libc call and get a trap, don't try to traceback the libc call.
Start from the state we had at entry to libc.

If there are multiple libc calls outstanding, remember the outermost one.

Fixes #26393

Change-Id: Icfe8794b95bf3bfd1a0679b456dcde2481dcabf3
Reviewed-on: https://go-review.googlesource.com/124195
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/os_solaris.go
src/runtime/os_windows.go
src/runtime/sys_darwin.go
src/runtime/traceback.go