From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52075 invoked by alias); 7 Nov 2019 14:02:07 -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 52063 invoked by uid 89); 7 Nov 2019 14:02:07 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=H*f:sk:oreeyjr, H*MI:sk:oreeyjr, H*i:sk:oreeyjr, our X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Nov 2019 14:02:06 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 4FBDBB135; Thu, 7 Nov 2019 14:02:04 +0000 (UTC) Date: Thu, 07 Nov 2019 14:02:00 -0000 From: Richard Biener To: Alexandre Oliva cc: gcc-patches@gcc.gnu.org, ebotcazou@adacore.com, joseph@codesourcery.com Subject: Re: introduce -fcallgraph-info option In-Reply-To: Message-ID: References: <84223B6B-F6F0-4B94-835E-6661E1E1EB6A@suse.de> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2019-11/txt/msg00510.txt.bz2 On Thu, 7 Nov 2019, Alexandre Oliva wrote: > On Nov 7, 2019, Richard Biener wrote: > > > So how's -dumpbase handled? > > It's part of the gcc driver interface, and lto-wrapper passes it to gcc > for -fltrans compilations. -auxbase isn't, so one of the alternatives I > suggested involved our taking auxbase from dumpdir & dumpbase for > -fltrans compilations. The other alternatives amounted to exposing > auxdir or auxbase in the driver interface, so that lto-wrapper could > specify them explicitly. Both variants sound reasonable to me (also raises the question why we have both -dumpbase and -auxbase ...) Richard.