On 6/20/19 3:00 PM, david.tay...@dell.com wrote:
> Dell Customer Communication - Confidential
> 
>> From: Martin Liška <mli...@suse.cz>
>> 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 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.
> 

I would recommend that. You can achieve that with -fprofile-note-dir=.

Martin

Reply via email to