Dan Willemsen | 0c15709 | 2016-07-08 13:57:52 -0700 | [diff] [blame] | 1 | // Copyright 2016 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // +build linux |
| 6 | |
| 7 | package cgo |
| 8 | |
| 9 | import _ "unsafe" // for go:linkname |
| 10 | |
| 11 | // Calls the traceback function passed to SetCgoTraceback. |
| 12 | |
| 13 | //go:cgo_import_static x_cgo_callers |
| 14 | //go:linkname x_cgo_callers x_cgo_callers |
| 15 | //go:linkname _cgo_callers _cgo_callers |
| 16 | var x_cgo_callers byte |
| 17 | var _cgo_callers = &x_cgo_callers |