lto wrapper verboseness

Jakub Jelinek jakub@redhat.com
Thu Jul 30 08:28:00 GMT 2015


On Thu, Jul 30, 2015 at 10:09:05AM +0200, Richard Biener wrote:
> On Thu, Jul 30, 2015 at 1:05 AM, Nathan Sidwell <nathan@acm.org> wrote:
> > Jakub,
> > this patch augments the lto wrapper to print out the arguments to spawned
> > commands when verbose.  I found this useful in debugging recent development.
> >
> > ok for trunk?
> 
> Err - fork_execute through collect_execute already does this if
> verbose || debug.
> 
> So better figure out why this doesn't work.

All I can add is that it really doesn't work, so far to get at the arguments
passed to the offloading cc1/cc1plus/f951, I had to strace -s 1024 -v and
capture what has been passed to the compiler and the content of the
temporary file with options.

	Jakub



More information about the Gcc-patches mailing list