github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/src/runtime/arch-has-returnaddr.go (about)

     1  //go:build !(avr || tinygo.wasm)
     2  
     3  package runtime
     4  
     5  import "unsafe"
     6  
     7  const hasReturnAddr = true
     8  
     9  //export llvm.returnaddress
    10  func returnAddress(level uint32) unsafe.Pointer