This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: gcc: -ftest-coverage and -auxbase
Dell Customer Communication - Confidential
> From: Martin Liška <mliska@suse.cz>
> Sent: Thursday, June 20, 2019 5:12 AM
> To: taylor, david; richard.guenther@gmail.com
> Cc: gcc@gcc.gnu.org
> Subject: Re: gcc: -ftest-coverage and -auxbase
>
> On 6/19/19 7:11 PM, David.Taylor@dell.com wrote:
> > Thanks for the patch. Standalone it is not sufficient. Combined with
> > the other two changes that have been discussed --
>
> Why is that not sufficient? If you build from top-level and you have .o files
> that overwrite each other, then you can set -fprofile-note-dir=/tmp/my-
> unique-folder
>
> And you'll not overwrite .gcno files.
>
> Martin
Right now GCC names the GCNO files '-.gcno'.
With your patch they get put into a specified directory. But,
unless I am prepared to create over 16,000 directories each to
hold just one file (I'm not), it is not sufficient.
What I want to do -- unless it is going to create problems -- is
to place the notes files alongside the object files. The files
foo.o and foo.gcno would be in the same directory.