Source file src/runtime/cgo/callbacks_traceback.go
Documentation: runtime/cgo
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 //go:build darwin || linux 6 // +build darwin linux 7 8 package cgo 9 10 import _ "unsafe" // for go:linkname 11 12 // Calls the traceback function passed to SetCgoTraceback. 13 14 //go:cgo_import_static x_cgo_callers 15 //go:linkname x_cgo_callers x_cgo_callers 16 //go:linkname _cgo_callers _cgo_callers 17 var x_cgo_callers byte 18 var _cgo_callers = &x_cgo_callers 19