]> Cypherpunks repositories - gostls13.git/commit
runtime: support capturing C backtrace from signal handler on darwin/amd64
authorNikhil Benesch <nikhil.benesch@gmail.com>
Sat, 24 Mar 2018 22:51:01 +0000 (18:51 -0400)
committerIan Lance Taylor <iant@golang.org>
Wed, 4 Jul 2018 00:18:48 +0000 (00:18 +0000)
commit5929ead6fbdec684c38157d45715c46107fa6ada
tree9374e89d38c05e1da7e5929373143c23ae6aadc3
parentad4e6370fe801c7d7b97e893b87c7f3d5b05f955
runtime: support capturing C backtrace from signal handler on darwin/amd64

The implementation is mostly copied from the commit that added
linux/amd64 support for this feature (https://golang.org/cl/17761).

Change-Id: I3f482167620a7a3daf50a48087f8849a30d713bd
Reviewed-on: https://go-review.googlesource.com/102438
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/cgo/callbacks_traceback.go
src/runtime/cgo/gcc_traceback.c
src/runtime/cgo/libcgo.h
src/runtime/crash_cgo_test.go
src/runtime/os_darwin.go
src/runtime/sys_darwin_386.s
src/runtime/sys_darwin_amd64.s
src/runtime/sys_darwin_arm.s
src/runtime/sys_darwin_arm64.s