Files
tinygo/src/runtime/symtab.go
T
Randy Reddig 377415a6c3 runtime: add Frame.Entry field
This enables compatibility with golang.org/x/tools/internal/pkgbits.

https://github.com/golang/tools/blob/master/internal/pkgbits/frames_go17.go
2024-03-02 21:17:34 +01:00

27 lines
291 B
Go

package runtime
type Frames struct {
//
}
type Frame struct {
PC uintptr
Func *Func
Function string
File string
Line int
Entry uintptr
}
func CallersFrames(callers []uintptr) *Frames {
return nil
}
func (ci *Frames) Next() (frame Frame, more bool) {
return Frame{}, false
}