From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2572 invoked by alias); 18 Nov 2005 12:04:21 -0000 Received: (qmail 2557 invoked by uid 22791); 18 Nov 2005 12:04:19 -0000 Received: from 26.mail-out.ovh.net (HELO 26.mail-out.ovh.net) (213.186.42.179) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 18 Nov 2005 12:04:19 +0000 Received: (qmail 27625 invoked by uid 503); 18 Nov 2005 12:04:38 -0000 Received: (QMFILT: 1.0); 18 Nov 2005 12:04:38 -0000 Received: from b6.ovh.net (HELO mail13.ha.ovh.net) (213.186.33.56) by 26.mail-out.ovh.net with SMTP; 18 Nov 2005 12:04:38 -0000 Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 18 Nov 2005 12:04:18 -0000 Received: from mail13.ha.ovh.net (10.0.50.13) by mail13.ha.ovh.net with SMTP; 18 Nov 2005 12:04:15 -0000 Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50) by b0.ovh.net with SMTP; 18 Nov 2005 12:04:12 -0000 Received: from gut75-4-82-235-162-148.fbx.proxad.net (HELO ?192.168.1.100?) (laurent%guerby.net@82.235.162.148) by ns0.ovh.net with SMTP; 18 Nov 2005 12:04:12 -0000 Subject: Re: Directly generating binary code [Was Re: Link-time optimzation] From: Laurent GUERBY To: Andrew Haley Cc: Richard Earnshaw , Bernd Schmidt , Daniel Jacobowitz , Ian Lance Taylor , Robert Dewar , gcc mailing list In-Reply-To: <17277.48528.244059.606671@zapata.pink> References: <437BB214.1070306@codesourcery.com> <20051117011900.GA17847@redhat.com> <437BDC9E.3080608@codesourcery.com> <1132227692.24110.40.camel@pc960.cambridge.arm.com> <437D0DC7.7040509@adacore.com> <20051118021329.GA31135@nevyn.them.org> <437D9EE1.3040007@t-online.de> <1132313343.24110.88.camel@pc960.cambridge.arm.com> <17277.48528.244059.606671@zapata.pink> Content-Type: text/plain Date: Fri, 18 Nov 2005 12:04:00 -0000 Message-Id: <1132315408.6774.1711.camel@pc.site> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Ovh-Remote: 82.235.162.148 (gut75-4-82-235-162-148.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: fait|type 1&3|0.0|H 0.5 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2005-11/txt/msg00841.txt.bz2 On Fri, 2005-11-18 at 11:40 +0000, Andrew Haley wrote: > A nightmare scenario is debugging the compiler when its behaviour > changes due to using "-S". Assembly source is something that we > maintainers use more than anyone else. If we go the direct generation route, I think it would be more efficient (if possible) to add whatever extra information is needed in the object file (like the asm template string, compiler comments, ...) so that object code dumper will get it back to you on request. So skip the -S altogether, always use the object dumper to "look at assembly". Of course you then depend on the full target object toolchain, if it is a proprietary one and we can't feed extra information through its object dumper, my scheme won't work. Laurent