RE: GCC's instrumentation and the target environment

2019-11-04 Thread David.Taylor
> From: Martin Liška > Sent: Monday, November 4, 2019 4:20 AM > To: taylor, david; gcc@gcc.gnu.org > Subject: Re: GCC's instrumentation and the target environment > On 11/1/19 7:13 PM, David Taylor wrote: > Hello. Hello. > > What I'd like is a stable API between the routines that 'collect' the

RE: gcc: -ftest-coverage and -auxbase

2019-06-24 Thread David.Taylor
> From: Martin Liška > Sent: Thursday, June 20, 2019 9:49 AM > I see. What about the following patch: > > $ ./gcc/xgcc -Bgcc /tmp/main.c --coverage -fprofile-note=/tmp/main.gcno $ > ls -l /tmp/main.gcno > -rw-r--r-- 1 marxin users 428 Jun 20 15:48 /tmp/main.gcno Thanks. That did the trick. Nex

RE: gcc: -ftest-coverage and -auxbase

2019-06-20 Thread David.Taylor
Dell Customer Communication - Confidential > From: Martin Liška > Sent: Thursday, June 20, 2019 9:49 AM > I see. What about the following patch: > > $ ./gcc/xgcc -Bgcc /tmp/main.c --coverage > -fprofile-note=/tmp/main.gcno $ ls -l /tmp/main.gcno > -rw-r--r-- 1 marxin users 428 Jun 20 15:48 /tm

RE: gcc: -ftest-coverage and -auxbase

2019-06-20 Thread David.Taylor
> From: Martin Liška > Sent: Thursday, June 20, 2019 9:07 AM > > On 6/20/19 3:00 PM, david.tay...@dell.com wrote: > > > >> From: Martin Liška > >> Sent: Thursday, June 20, 2019 5:12 AM > >> > >> On 6/19/19 7:11 PM, david.tay...@dell.com wrote: > >>> Thanks for the patch. Standalone it is not su

RE: gcc: -ftest-coverage and -auxbase

2019-06-20 Thread David.Taylor
> Am 20.06.19 um 15:00 schrieb david.tay...@dell.com: > > Dell Customer Communication - Confidential > > Can't expect me to read this, then? :-) Grumble. For every email, even internal ones, we are asked it's 'sensitivity'. I explicitly marked that one as 'external public'. It should not have s

RE: gcc: -ftest-coverage and -auxbase

2019-06-20 Thread David.Taylor
Dell Customer Communication - Confidential > From: Martin Liška > Sent: Thursday, June 20, 2019 5:12 AM > To: taylor, david; richard.guent...@gmail.com > Cc: gcc@gcc.gnu.org > Subject: Re: gcc: -ftest-coverage and -auxbase > > On 6/19/19 7:11 PM, david.tay...@dell.com wrote: > > Thanks for the p

RE: gcc: -ftest-coverage and -auxbase

2019-06-19 Thread David.Taylor
Dell Customer Communication - Confidential > From: Martin Liška > Sent: Wednesday, June 19, 2019 3:19 AM > > On 6/18/19 11:51 PM, david.tay...@dell.com wrote: > >> From: Martin Liška > >> Sent: Tuesday, June 18, 2019 11:20 AM > >> > >> .gcno files are created during compilation and contain info

RE: gcc: -ftest-coverage and -auxbase

2019-06-18 Thread David.Taylor
> From: Martin Liška > Sent: Tuesday, June 18, 2019 11:20 AM > > .gcno files are created during compilation and contain info about a source > file. > These files will be created by a cross compiler, so that's fine. > > During a run of a program a .gcda file is created. It contains information

RE: gcc: -ftest-coverage and -auxbase

2019-06-18 Thread David.Taylor
Dell Customer Communication - Confidential > From: Martin Liška > Sent: Tuesday, June 18, 2019 4:56 AM > > On 6/18/19 10:40 AM, Richard Biener wrote: > > I don't think we want to expose -auxbase. Iff then an alternate way > > to specify a coverage output file name. > > I'm not aware of it. >

RE: gcc: -ftest-coverage and -auxbase

2019-06-17 Thread David.Taylor
> From: Richard Biener > Sent: Monday, June 17, 2019 9:57 AM > To: taylor, david > Cc: GCC Development > Subject: Re: gcc: -ftest-coverage and -auxbase > On Mon, Jun 17, 2019 at 2:46 PM David Taylor wrote: > > > > From: Richard Biener > > Date: Thu, 13 Jun 2019 10:22:54 +0200 > > > >

gcc: -ftest-coverage and -auxbase

2019-06-12 Thread David.Taylor
When doing a build, we use a pipe between GCC and GAS. And because we wish to do some analysis of the assembly code, we do not use -pipe but instead do '-S -c -'. And this has worked fine for many years. I was recently looking into collecting some coverage information. To that end, I added --cove