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 Jul 29, 2005, at 11:19 AM, Daniel Jacobowitz wrote:


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.



And one way to annotate and propagate this info is to use special attribute. Any other alternative ?


Yes. My point is that the attribute should ADD to the debug info, not SUBTRACT.

So, you are OK with an idea of having new special attribute and decorating intrinsics headers. Right ?


Now for actual debug info, lets SUBTRACT in stabs world (FSF GCC still supports stabs) and find a way to ADD info in DWARF.

thoughts ?
-
Devang


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