gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: RFA: New Target Hook for recording gcc switches

Subject: Re: RFA: New Target Hook for recording gcc switches
From: Andrew Pinski
Date: Sat, 12 Nov 2005 00:21:43 -0500 EST
> 
> On Fri, 11 Nov 2005, Nick Clifton wrote:
> > This first patch is here so that object files can record
> >   the exact switches that were used to create them, thus aiding
> >   debugging when the displayed command line cannot be relied upon to
> >   show how GCC was invoked.
> 
> I like this.  Sometimes the command line isn't even available,
> or 1000 miles, a management hierarchy and a language away.
> Perhaps there could be a default ELF implementation that could
> output it to a .note or .comment section?

Note this is recorded as PR 2678.


Thanks,
Andrew Pinski

<Prev in Thread] Current Thread [Next in Thread>