This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/28205] Request an option to make -finstrument-functions not apply to inlined function calls



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]