This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: __nodebug__ attribute for use on SSE intrinsic wrappers
> and then just use the HIDE_DEBUG_INFO where you would have used
> __attribute__ ((nodebug)) in the header?
>
If you are really going to make an attribute that says "don't output any
debug info for this function", it's going to take a lot more docs than
what you've currently done.
On the other hand, something that says "this is artificial" can have the
same effect for STABS (omit the debug info), but has much easier and
clearer semantics.
I'm really trying to help you guys.
You really don't want to get in the game of having a real "no debug
info" attribute without rigidly defining what happens in a lot more
situations than you've defined with that simple patch.
--Dan