I know by reading the docs (and lists, and every resource out there) that the output of runtime.Callers is meant to be used with runtime.CallersFrames, but I'm curious to learn in which cases using FuncForPC with the PCs returned by Callers (minus 1) would produce different results if all I care for is filename, line number and function, in a non-CGO environment (I'm not sure if this would make any change).
By the docs I read, it would be possible that using FuncForPC on the results of Callers may not appropriately account for inlined functions. By reading the latest code of runtime, I found that it would appear to account for inlined functions with the inline unwinder, although the treatment is different as that which is made in (*Frames).Next(), I presume since it creates a "fake" *Func.