mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
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
This commit is contained in:
@@ -13,6 +13,8 @@ type Frame struct {
|
|||||||
|
|
||||||
File string
|
File string
|
||||||
Line int
|
Line int
|
||||||
|
|
||||||
|
Entry uintptr
|
||||||
}
|
}
|
||||||
|
|
||||||
func CallersFrames(callers []uintptr) *Frames {
|
func CallersFrames(callers []uintptr) *Frames {
|
||||||
|
|||||||
Reference in New Issue
Block a user