]> Cypherpunks repositories - gostls13.git/commit
runtime: put tracebackctxt C functions in .c file
authorIan Lance Taylor <iant@golang.org>
Wed, 4 May 2016 20:27:27 +0000 (13:27 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 5 May 2016 01:19:18 +0000 (01:19 +0000)
commit34f97d28d2ff435b8ac85ad6645aaf79a5d061bd
treed8f4c93afb50107b513e0f1b868a4fd33f39a4f3
parent57be1607d975ebec2f5faecea068f2db31abc041
runtime: put tracebackctxt C functions in .c file

Since tracebackctxt.go uses //export functions, the C functions can't be
externally visible in the C comment. The code was using attributes to
work around that, but that failed on Windows.

Change-Id: If4449fd8209a8998b4f6855ea89e5db1471b2981
Reviewed-on: https://go-review.googlesource.com/22786
Reviewed-by: Minux Ma <minux@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/crash_cgo_test.go
src/runtime/testdata/testprogcgo/tracebackctxt.go
src/runtime/testdata/testprogcgo/tracebackctxt_c.c [new file with mode: 0644]