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, Jul 29, 2005 at 11:03:05AM -0700, Devang Patel wrote:
> 
> On Jul 29, 2005, at 10:58 AM, Daniel Jacobowitz wrote:
> 
> >>To put Devang's remarks in proper context. Apple tools all use stab
> >>at this time. And there is an immediate need for this functionality
> >>at the producer level.
> >>
> >
> >Yes, I know.  The question Geoff was answering is whether the FSF tree
> >should have this attribute, though.
> 
> It is not STABS vs DWARF.
> 
> As I mentioned in separate email, I am still at loss how performance  
> tools will automatically present sample info the way user expects  
> (rightfully, IMO) to see.

The tool needs to know what functions to ignore.

If you want that information to propogate from the source code, you
should do it by adding some annotation to the debug info which says
that the inline function is uninteresting, rather than removing debug
info.  This way, tools _can_ step into the function if they are asked
to by the user.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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