From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75150 invoked by alias); 6 Sep 2016 12:15:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 74243 invoked by uid 89); 6 Sep 2016 12:15:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail.ud10.udmedia.de Received: from ud10.udmedia.de (HELO mail.ud10.udmedia.de) (194.117.254.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Sep 2016 12:15:48 +0000 Received: (qmail 9873 invoked from network); 6 Sep 2016 14:15:44 +0200 Received: from ip5b406122.dynamic.kabel-deutschland.de (HELO x4) (ud10?360p3@91.64.97.34) by mail.ud10.udmedia.de with ESMTPSA (ECDHE-RSA-AES256-SHA encrypted, authenticated); 6 Sep 2016 14:15:44 +0200 Date: Tue, 06 Sep 2016 12:26:00 -0000 From: Markus Trippelsdorf To: Richard Biener Cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH][RFC] Early LTO debug Message-ID: <20160906121544.GB316@x4> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SW-Source: 2016-09/txt/msg00293.txt.bz2 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