Re: [PATCH v2 03/24] objtool: Handle __sanitize_cov*() tail calls

From: Peter Zijlstra
Date: Mon Jun 28 2021 - 05:09:50 EST


On Fri, Jun 25, 2021 at 01:05:39PM +0200, Marco Elver wrote:
> On Thu, Jun 24, 2021 at 11:41AM +0200, Peter Zijlstra wrote:
> > Turns out the compilers also generate tail calls to __sanitize_cov*(),
> > make sure to also patch those out in noinstr code.
> >
> > Fixes: 0f1441b44e82 ("objtool: Fix noinstr vs KCOV")
> > Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
>
> Acked-by: Marco Elver <elver@xxxxxxxxxx>
>
> Thanks! More reason to not even try to do the same for other
> architectures, and the compiler needing the attribute...

Agreed!