------- Comment #3 from andreas dot knuepfer at tu-dresden dot de 2006-10-06 12:40 ------- Would it be feasible to pass a different function address for inlined functions? In particular, it should not be the same address as the parent function.
I seem to recall that in previous versions (2.95.x, 3.x) of GCC __cyg_profile_func_enter() used the call location of an inlined function as first argument. This is somewhere in the middle of the parent function, which makes sense somehow. Any invalid address could be used as well. In the end, the user could be aware of a function being inlined. -- andreas dot knuepfer at tu-dresden dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas dot knuepfer at tu- | |dresden dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28205