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

Peter Zijlstra
2021-06-28T09:09:51Z

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@infradead.org>
>
> Acked-by: Marco Elver <elver@google.com>
>
> Thanks! More reason to not even try to do the same for other
> architectures, and the compiler needing the attribute...

Agreed!