From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51602 invoked by alias); 1 Jun 2017 15:59:09 -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 49579 invoked by uid 89); 1 Jun 2017 15:59:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-7.0 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*c:Windows-1252 X-HELO: EUR03-VE1-obe.outbound.protection.outlook.com Received: from mail-oln040092072031.outbound.protection.outlook.com (HELO EUR03-VE1-obe.outbound.protection.outlook.com) (40.92.72.31) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 01 Jun 2017 15:59:05 +0000 Received: from AM5EUR03FT026.eop-EUR03.prod.protection.outlook.com (10.152.16.54) by AM5EUR03HT116.eop-EUR03.prod.protection.outlook.com (10.152.17.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1101.12; Thu, 1 Jun 2017 15:59:06 +0000 Received: from AM4PR0701MB2162.eurprd07.prod.outlook.com (10.152.16.53) by AM5EUR03FT026.mail.protection.outlook.com (10.152.16.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.12 via Frontend Transport; Thu, 1 Jun 2017 15:59:05 +0000 Received: from AM4PR0701MB2162.eurprd07.prod.outlook.com ([fe80::2073:585b:84f6:9881]) by AM4PR0701MB2162.eurprd07.prod.outlook.com ([fe80::2073:585b:84f6:9881%17]) with mapi id 15.01.1143.009; Thu, 1 Jun 2017 15:59:06 +0000 From: Bernd Edlinger To: Joseph Myers CC: "gcc-patches@gcc.gnu.org" , Nathan Sidwell , Jan Hubicka Subject: [PING**3] [PATCH] Force use of absolute path names for gcov Date: Thu, 01 Jun 2017 15:59: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:18ACEB8B0D4425390A51FD1E00DFE6FB4E3CCC20BAC351214DD1D72B423E7EF2;UpperCasedChecksum:1A5BC4E045C36EB1F31C034A5A71523672109262A97D381900FF87DA88167A30;SizeAsReceived:8798;Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [VsmnnO7B4JI81MaQtZ4U/7gJSQM0nhDL] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM5EUR03HT116;24:UFgAFx5TwDWcGeUTQIqeyLqXH+XFd/w167AuUvBha+ZNdYlEnCeNLlzNDxGq680zgdtv9rnpcP9fMt6A+9O1f+PzZnDLHOhiXOyfGCcP8SY=;7:BdtiTVoGoc9St2feA0YOoPo9czdfcNPJe/fIuLBd6cl6zoX9xGf7xG7PlNWTKUxbQV8S0px2TfJhM0PFBx0CsZhZU7jO8c0Z0+J4EsHauEuhC+OAr1big4RhhQx6tUfX7FidAcEM6oWpVHGViwRaF/RIqSGw7GCuYyMuHTf+mDYFeq83WyFyAQ09wfFR0Xvhi475JOtSg1oFD0F268curMpvU3VqLGSt5BuDwHhrnL5sFnvo9QLN06drg1T33ylBa7bDjxx+Gd66sb0u28JWd3Uwpgng/AMJByxErVsPCIbOQ5vgonJPykuhF4cZ63VZ x-incomingheadercount: 46 x-eopattributedmessage: 0 x-forefront-antispam-report: EFV:NLI;SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:AM5EUR03HT116;H:AM4PR0701MB2162.eurprd07.prod.outlook.com;FPR:;SPF:None;LANG:en; x-ms-traffictypediagnostic: AM5EUR03HT116: x-ms-office365-filtering-correlation-id: 3175516d-2550-4af6-5637-08d4a9072082 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045);SRVR:AM5EUR03HT116; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031);SRVR:AM5EUR03HT116;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM5EUR03HT116; x-forefront-prvs: 0325F6C77B spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2017 15:59:05.9954 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5EUR03HT116 X-SW-Source: 2017-06/txt/msg00052.txt.bz2 Ping... On 05/12/17 18:47, Bernd Edlinger wrote: > Ping... >=20 > 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.