This is the mail archive of the gcc-patches@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]

Re: PATCH: __nodebug__ attribute for use on SSE intrinsic wrappers


On Fri, 2005-07-29 at 10:58 -0700, Devang Patel wrote:
> On Jul 29, 2005, at 10:47 AM, Daniel Jacobowitz wrote:
> 
> > In the same way as it will solve GDB's.  Once you have inlining data,
> > you can choose to ignore specific inline functions as not  
> > interesting -
> > the difference is that the consumer can now make this choice, instead
> > of the producer.  Then you credit the samples taken in those inline
> > functions to their call sites using DW_AT_call_line.
> 
> - End user programmer did not write these inline functions. They are  
> supplied by GCC.

The same could be said about anything supplied by the standard but is
really a function and not a macro.

> - End user programmer does not see them as inline functions. G

Ditto here.

> - Consumer of this info, CHUD tools, does not know that this is  
> supplied by GCC and not by end user programmer.
Ditto here.


> Since, GCC is supplying these intrinsics, it should supply them in  
> such a way that they are not represented as small functions.

This i disagree with.
It's free to do it however it wants.
Tools need to learn to cope, since this is not simply going to go away.
Lying to your tools only gets you into trouble.
Making your tools smart enough to do what your users consider the right
thing is the path to true enlightenment.

--Dan


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