Re: [PATCH 02/11] kasan: docs: update overview section

From: Andrey Konovalov
Date: Fri Mar 12 2021 - 08:52:56 EST


On Fri, Mar 12, 2021 at 11:18 AM Marco Elver <elver@xxxxxxxxxx> wrote:
>
> > -Currently generic KASAN is supported for the x86_64, arm, arm64, xtensa, s390
> > +The hardware KASAN mode (#3) relies on hardware to perform the checks but
> > +still requires a compiler version that supports memory tagging instructions.
> > +This mode is supported in Clang 11+.
>
> Doesn't HW_TAGS mode work with GCC as well? While the sentence doesn't
> say "exclusively", the mention of Clang 11+ makes me think it's only
> Clang.

I never tried it with GCC until just now. But looks like it works.
Will add GCC here, thanks!