From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79084 invoked by alias); 12 May 2017 16:47:58 -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 78182 invoked by uid 89); 12 May 2017 16:47:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_1,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:eurprd07 X-HELO: EUR02-AM5-obe.outbound.protection.outlook.com Received: from mail-oln040092067038.outbound.protection.outlook.com (HELO EUR02-AM5-obe.outbound.protection.outlook.com) (40.92.67.38) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 12 May 2017 16:47:56 +0000 Received: from AM5EUR02FT019.eop-EUR02.prod.protection.outlook.com (10.152.8.51) by AM5EUR02HT087.eop-EUR02.prod.protection.outlook.com (10.152.9.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1075.5; Fri, 12 May 2017 16:47:56 +0000 Received: from AM4PR0701MB2162.eurprd07.prod.outlook.com (10.152.8.56) by AM5EUR02FT019.mail.protection.outlook.com (10.152.8.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1075.5 via Frontend Transport; Fri, 12 May 2017 16:47:56 +0000 Received: from AM4PR0701MB2162.eurprd07.prod.outlook.com ([fe80::40a0:2642:4335:50ed]) by AM4PR0701MB2162.eurprd07.prod.outlook.com ([fe80::40a0:2642:4335:50ed%19]) with mapi id 15.01.1084.022; Fri, 12 May 2017 16:47:56 +0000 From: Bernd Edlinger To: Joseph Myers CC: "gcc-patches@gcc.gnu.org" , Nathan Sidwell , Jan Hubicka Subject: [PING**2] [PATCH] Force use of absolute path names for gcov Date: Fri, 12 May 2017 16:48:00 -0000 Message-ID: References: In-Reply-To: authentication-results: codesourcery.com; dkim=none (message not signed) header.d=none;codesourcery.com; dmarc=none action=none header.from=hotmail.de; x-incomingtopheadermarker: OriginalChecksum:407D861C456EA4D30EED4E68A52F1CF57D3864C77E55EB6873CA4FD55B5D3E82;UpperCasedChecksum:340A2BD3A72364C1E22FE47D3F22C78989FEF16E90D16560E725F7FB032B871E;SizeAsReceived:8531;Count:43 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5EUR02HT087;5:Td2/X9pPGrqdf22rOeQpT8kIQ0NqAv0VOkkix26dujTUT3o+ilEisa0+VTBG+MVWLvBpkaNDDdfHOJvS4gZhMndfVgbf0UvtPIwnE86AIyLDf3j93Np6xM/7QNQDpJTSEHj0o+WUFzK8VAyo5+Kq+w==;24:1f5YoJYel7PbStpi4JmJybuRlJgbs/9+UBK+DNNhQbFcMtNISXc0EhACaIiPYS0kKhnrzilMQF7F0GjgngVLkaRlo7BjZlvRSG+7dhdDWOk=;7:zoL4F4pg+5lD/nu6DV4SEJwXCRBIam0tEaPnUvTdhe0KaYFe0i8WEvyuRS16dVv4E1OVsqCvYTkqeK6nq4S/QHI87FAT6CtpdJG15l+7GlSGT24lA7tru0E308ATuWgyn6oPSloaUTStjM2qtiR+kRGVZHERCn2jnMrLcYIFUtoSW0HdYkPUej8itjjhjWXYLjGpZxUoxGp9C/LbHEg3Mi4Ffkifqi12jq4W/0NsufW7ls+rPw95pMjRlbZh9J7s2cvrpAepLWH6o3g9m2uQUg77RCdyy8WgaMkhkUwj1TK97oNjacwuWzVLcFpJ3HyN x-incomingheadercount: 43 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:AM5EUR02HT087;H:AM4PR0701MB2162.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-office365-filtering-correlation-id: 7f46375c-9b97-4e07-2bac-08d49956a2f6 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1601125374)(1603101448)(1701031045);SRVR:AM5EUR02HT087; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444000031);SRVR:AM5EUR02HT087;BCL:0;PCL:0;RULEID:;SRVR:AM5EUR02HT087; x-forefront-prvs: 0305463112 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: <349F9328053F3E4590EA6F77372AA98E@eurprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 12 May 2017 16:47:56.0143 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR02HT087 X-SW-Source: 2017-05/txt/msg01045.txt.bz2 Ping... On 04/28/17 19:41, Bernd Edlinger wrote: > Ping... > > I attached a rebased patch file, with the doc changes and > merge conflicts with trunk of today fixed, but otherwise > identical. > > > Thanks > Bernd. > > On 04/21/17 22:26, Bernd Edlinger wrote: >> >> >> On 04/21/17 21:50, Joseph Myers wrote: >>> On Fri, 21 Apr 2017, Bernd Edlinger wrote: >>> >>>> So I would like to add a -fprofile-abs-path option that >>>> forces absolute path names in gcno files, which allows gcov >>>> to get the true canonicalized source name. >>> >>> I don't see any actual documentation of this option in the patch (you >>> add >>> it to the summary list of options, and mention it in text under the >>> documentation of --coverage, but don't have any actual @item >>> -fprofile-abs-path / @opindex fprofile-abs-path paragraph with text >>> describing what the option does). >>> >> >> Ah yes, thanks. >> >> So I'll add one more sentence to invoke.texi: >> >> @@ -10696,6 +10713,12 @@ >> generate test coverage data. Coverage data matches the source files >> more closely if you do not optimize. >> >> +@item -fprofile-abs-path >> +@opindex fprofile-abs-path >> +Automatically convert relative source file names to absolute path names >> +in the @file{.gcno} files. This allows @command{gcov} to find the >> correct >> +sources in projects with multiple directories. >> + >> @item -fprofile-dir=3D@var{path} >> @opindex fprofile-dir >> >> >> >> >> Bernd.