Hi,

This is 2nd ping of this simple patch.

We are waiting for this patch for one of our important project.

Please let me know whether this patch is reasonable or not.

Thanks a lot.

Qing

> Begin forwarded message:
> 
> From: Qing Zhao <qing.z...@oracle.com>
> Subject: PING: Fwd: [PATCH][gcov-profile/91971]Profile directory concatenated 
> with object file path
> Date: October 14, 2019 at 9:52:34 AM CDT
> To: hubi...@ucw.cz
> Cc: gcc-patches@gcc.gnu.org
> 
> Hi, 
> 
> This is a ping to the following patch.
> 
> Thanks,
> 
> Qing
> 
>> Begin forwarded message:
>> 
>> From: Qing Zhao <qing.z...@oracle.com>
>> Subject: [PATCH][gcov-profile/91971]Profile directory concatenated with 
>> object file path
>> Date: October 9, 2019 at 10:30:04 AM CDT
>> To: hubi...@ucw.cz
>> Cc: gcc-patches@gcc.gnu.org
>> 
>> Hi,
>> 
>> This is a patch for fix PR 91971: Profile directory concatenated with object 
>> file path
>> 
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971
>> 
>> Gcc/ChangeLog:
>> 
>> +2019-10-09  qing zhao  <qing.z...@oracle.com>
>> +
>> +       * coverage.c (coverage_init): Mangle the full path of filename when
>> +       filename is a absolute path.
>> +
>> 2019-10-07  Jozef Lawrynowicz  <joze...@mittosystems.com>
>> 
>> $ git diff  gcc/coverage.c
>> diff --git a/gcc/coverage.c b/gcc/coverage.c
>> index 0d5138f..bcba61c 100644
>> --- a/gcc/coverage.c
>> +++ b/gcc/coverage.c
>> @@ -1229,6 +1229,14 @@ coverage_init (const char *filename)
>>      else
>>       profile_data_prefix = getpwd ();
>>    }
>> +  else
>> +    {
>> +      /* when filename is a absolute path, we also need to mangle the full
>> +      path of filename to prevent the profiling data being stored into a
>> +      different path than that specified by profile_data_prefix.  */
>> +      filename = mangle_path (filename);
>> +      len = strlen (filename);
>> +    }
>> 
>>  if (profile_data_prefix)
>>    prefix_len = strlen (profile_data_prefix);
>> 
>> Okay to commit?
>> 
>> thanks.
>> 
>> Qing
>> 
>> 
>>> On Oct 2, 2019, at 11:05 AM, Qing Zhao <qing.z...@oracle.com> wrote:
>>> 
>>> Ping on:
>>> 
>>> https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01554.html 
>>> <https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01554.html>
>>> 
>>> Anyway, I filed an gcc bug on this issue as:
>>> 
>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971 
>>> <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91971>
>>> 
>>> If you think that this is NOT a bug, please let me know.
>>> 
>>> thanks.
>>> 
>>> Qing
>> 
> 

Reply via email to