On Sat, Apr 27, 2013 at 09:09:25PM +0200, Franco Fichtner wrote: > On backtrace(3) (which is a GNU thing, I know), static functions don't > show up with their respective names even though they are in the binary. > That's a tad annoying, but I am not aware of any other limitation. Can > someone please enlighten me?
That's not true in general. backtrace(3) or any other user of the .eh_frame section for unwinding won't see individual records for inlined functions. Static functions are more likely to get inlined, but the same can happen with non-inline functions defined in the same file. Joerg