Skip to content

Commit

Permalink
runtime: add Frame.Entry field
Browse files Browse the repository at this point in the history
This enables compatibility with golang.org/x/tools/internal/pkgbits.

https://github.com/golang/tools/blob/master/internal/pkgbits/frames_go17.go
  • Loading branch information
ydnar authored and aykevl committed Mar 2, 2024
1 parent 1e13c6d commit 377415a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/symtab.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ type Frame struct {

File string
Line int

Entry uintptr
}

func CallersFrames(callers []uintptr) *Frames {
Expand Down

0 comments on commit 377415a

Please sign in to comment.