-
- Downloads
runtime: just do file/line lookup in C, move Func to Go
In order to port stack backtraces to Go, we need the ability to look up file/line information for PC values without allocating memory. This patch moves the handling of Func from C code to Go code, and simplifies the C code to just look up function/file/line/entry information for a PC. Reviewed-on: https://go-review.googlesource.com/31150 From-SVN: r241172
Showing
- gcc/go/gofrontend/MERGE 1 addition, 1 deletiongcc/go/gofrontend/MERGE
- libgo/go/runtime/symtab.go 23 additions, 15 deletionslibgo/go/runtime/symtab.go
- libgo/runtime/go-caller.c 19 additions, 96 deletionslibgo/runtime/go-caller.c
- libgo/runtime/runtime.h 0 additions, 12 deletionslibgo/runtime/runtime.h
Loading
Please register or sign in to comment