NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Mapping function address to name



On May 2,  8:51pm, cryintothebluesky%googlemail.com@localhost (Sad Clouds) 
wrote:
-- Subject: Re: Mapping function address to name

| I think this is because in shared libraries, functions defined as
| 'static' are not visible in ELF sections.
| 
| It would alleviate much of my frustration, if GCCs instrumentation
| callbacks __cyg_profile_func_enter/__cyg_profile_func_exit would
| also pass function name as one of their arguments. Surely this would be
| a simple thing for a compiler to do.

Well, if you don't strip them, then it should find them. If nm can find
them, so can the symbol table searcher.

christos


Home | Main Index | Thread Index | Old Index