Skip to content

Commit 377415a

Browse files
ydnaraykevl
authored andcommitted
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
1 parent 1e13c6d commit 377415a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/runtime/symtab.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ type Frame struct {
1313

1414
File string
1515
Line int
16+
17+
Entry uintptr
1618
}
1719

1820
func CallersFrames(callers []uintptr) *Frames {

0 commit comments

Comments
 (0)