Re: [PATCH] kcov: add __no_sanitize_coverage to fix noinstr for all architectures

From: Miguel Ojeda
Date: Wed May 26 2021 - 14:13:10 EST


On Wed, May 26, 2021 at 2:38 PM Marco Elver <elver@xxxxxxxxxx> wrote:
>
> Ok, let's wait for response to: https://reviews.llvm.org/D103159
> If that lands in the LLVM repo I'll change to use
> __has_feature(coverage_sanitizer), and send a v2. That __has_feature()
> is a bit of a lie though, because fsanitize-coverage has long been
> supported, but it just so happens that if we get it, then its
> availability implies availability of the no_sanitize("coverage")
> attribute.

Thanks a lot for that! Appreciated :)

Cheers,
Miguel