How to force all functions to have full prologs and epilogs in optimized code?

Yuri yuri@rawbw.com
Wed Oct 8 16:46:00 GMT 2008


I debug an application and need to know which function calls were made.
Many function though not inlined have optimized away epilogs, replaced 
by a jump.
And google-perftools tool for example doesn't pick such functions up.

Is there an option in gcc forcing it to emit full prologs/epilogs even 
for optimized code?

Yuri



More information about the Gcc-help mailing list