Re: [PATCH 06/18] add support for Clang's Shadow Call Stack (SCS)
From: Miguel Ojeda
Date: Fri Oct 18 2019 - 20:22:09 EST
On Fri, Oct 18, 2019 at 10:33 PM Nick Desaulniers
<ndesaulniers@xxxxxxxxxx> wrote:
>
> Sami pointed out to me off thread that __has_attribute would only
> check `no_sanitize`, not `shadow-call-stack`. So maybe best to keep
> the definition here (include/linux/compiler-clang.h), but wrapped in a
> `__has_feature` check so that Clang 6.0 doesn't start complaining.
Ah, good point -- agreed!
Cheers,
Miguel