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][RFC] Early LTO debug


On 2016.09.06 at 14:26 +0200, Richard Biener wrote:
> On Tue, 6 Sep 2016, Markus Trippelsdorf wrote:
> 
> > On 2016.09.06 at 13:17 +0200, Richard Biener wrote:
> > > 
> > > The following is an updated patch, mainly stripped out old unnecessary
> > > cruft and some fixes for an issue that arised when LTOing Firefox.
> > 
> > One minor issue that I've noticed is that the patch generates a lot of
> > empty *debugobj* files in $TMPDIR, e.g.:
> > 
> >  % echo 'int main(){}' | g++ -flto -o /dev/null-x c++ -
> >  % ls -l $TMPDIR
> > total 0
> > -rw-------. 1 trippels trippels 0 Sep  6 12:11 ccenD5Tcdebugobj
> > -rw-------. 1 trippels trippels 0 Sep  6 12:11 ccXzvE4udebugobjtem
> 
> Ah, make_temp_file actually _creates_ the files already...
> 
> Fixed with the patch below.

Thanks, it takes care of the debugobjtems, but still creates bogus
debugobjs.

-- 
Markus


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