Re: [PATCH] compiler_attributes: fix __has_attribute(__no_sanitize_coverage__) for gcc 4
From: Miguel Ojeda
Date: Wed Jul 14 2021 - 13:05:29 EST
On Wed, Jul 14, 2021 at 5:02 PM Marco Elver <elver@xxxxxxxxxx> wrote:
>
> Fix __has_attribute(__no_sanitize_coverage__) for GCC 4 by defining
> __GCC4_has_attribute___no_sanitize_coverage__.
>
> Fixes: 540540d06e9d ("kcov: add __no_sanitize_coverage to fix noinstr for all architectures")
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Signed-off-by: Marco Elver <elver@xxxxxxxxxx>
Looks good, thanks -- I will pick it up tomorrow.
Cheers,
Miguel