aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/runtime/arch-has-returnaddr.go
blob: a356d3c12ebe44b3a4f2ecaab378fdb24476530a (plain)
1
2
3
4
5
6
7
8
9
10
//go:build !(avr || tinygo.wasm)

package runtime

import "unsafe"

const hasReturnAddr = true

//export llvm.returnaddress
func returnAddress(level uint32) unsafe.Pointer