This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Early LTO debug
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 6 Sep 2016 14:15:44 +0200
- Subject: Re: [PATCH][RFC] Early LTO debug
- Authentication-results: sourceware.org; auth=none
- References: <alpine.LSU.2.11.1608261141590.26629@t29.fhfr.qr> <alpine.LSU.2.11.1609061312350.26629@t29.fhfr.qr>
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
The new patch builds LLVM fine with "-flto -g".
--
Markus