Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-25 Thread Richard Biener via Gcc-patches
On Mon, May 24, 2021 at 10:27 AM Martin Liška wrote: > > On 5/21/21 2:39 PM, Marco Elver wrote: > > On Fri, May 21, 2021 at 10:50AM +0200, Martin Liška wrote: > >> On 5/20/21 12:55 PM, Marco Elver wrote: > >>> I think this came up with other no_sanitize [1] based on what I had > >>> written to you

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-24 Thread Marco Elver via Gcc-patches
On Mon, 24 May 2021 at 10:03, Martin Liška wrote: > On 5/21/21 2:39 PM, Marco Elver wrote: > > On Fri, May 21, 2021 at 10:50AM +0200, Martin Liška wrote: > >> On 5/20/21 12:55 PM, Marco Elver wrote: > >>> I think this came up with other no_sanitize [1] based on what I had > >>> written to you last

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-24 Thread Martin Liška
nding. Ready for master? Thanks, Martin Thanks, -- Marco >From 15053b32a870cd62641ad62a9e76a78558489f4a Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Thu, 20 May 2021 09:32:29 +0200 Subject: [PATCH] Add no_sanitize_coverage attribute. gcc/ChangeLog: * asan.h (sanitize_coverage_p):

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-21 Thread Marco Elver via Gcc-patches
On Fri, May 21, 2021 at 10:50AM +0200, Martin Liška wrote: > On 5/20/21 12:55 PM, Marco Elver wrote: > > I think this came up with other no_sanitize [1] based on what I had > > written to you last year [2]. > > > > [1]https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547618.html > > [2]https://l

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-21 Thread Martin Liška
, 20 May 2021 09:32:29 +0200 Subject: [PATCH] Add no_sanitize_coverage attribute. gcc/ChangeLog: * asan.h (sanitize_coverage_p): New function. * doc/extend.texi: Document it. * fold-const.c (fold_range_test): Use sanitize_flags_p instead of flag_sanitize_coverage. (fold_truth_andor): Likewise

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-20 Thread Marco Elver via Gcc-patches
On Thu, 20 May 2021 at 11:08, Martin Liška wrote: > On 5/20/21 10:45 AM, Marco Elver wrote: > > On Thu, 20 May 2021 at 10:33, Martin Liška wrote: > >> Hello. > >> > >> The patch implements one missing attribute which can be used for > >> per-function > >> disabling of coverage sanitization. > >>

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-20 Thread Martin Liška
On 5/20/21 10:45 AM, Marco Elver wrote: On Thu, 20 May 2021 at 10:33, Martin Liška wrote: Hello. The patch implements one missing attribute which can be used for per-function disabling of coverage sanitization. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Thanks fo

Re: [PATCH] Add no_sanitize_coverage attribute.

2021-05-20 Thread Marco Elver via Gcc-patches
On Thu, 20 May 2021 at 10:33, Martin Liška wrote: > Hello. > > The patch implements one missing attribute which can be used for per-function > disabling of coverage sanitization. > > Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Thanks for implementing this so quickly. On

[PATCH] Add no_sanitize_coverage attribute.

2021-05-20 Thread Martin Liška
Hello. The patch implements one missing attribute which can be used for per-function disabling of coverage sanitization. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to be installed? Thanks, Martin gcc/ChangeLog: * asan.h (sanitize_coverage_p): New func