diff options
author | Randy Reddig <[email protected]> | 2024-02-26 11:19:14 -0800 |
---|---|---|
committer | Ayke <[email protected]> | 2024-03-02 21:17:34 +0100 |
commit | 377415a6c3158d5cefe8cd46c592b144053593aa (patch) | |
tree | fc2b90f5937a99b5b81fa9b876d59c02baee1832 /src | |
parent | 1e13c6d18f3ec73ce3aca01280f92d19763ae322 (diff) | |
download | tinygo-377415a6c3158d5cefe8cd46c592b144053593aa.tar.gz tinygo-377415a6c3158d5cefe8cd46c592b144053593aa.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/runtime/symtab.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go index 37c21ee89..03b0d8cb7 100644 --- a/src/runtime/symtab.go +++ b/src/runtime/symtab.go @@ -13,6 +13,8 @@ type Frame struct { File string Line int + + Entry uintptr } func CallersFrames(callers []uintptr) *Frames { |