go-caller.c
5.35 KB
-
runtime: just do file/line lookup in C, move Func to Go · db2fb304
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
Ian Lance Taylor committed