lkml.org 
[lkml]   [2021]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 03/24] objtool: Handle __sanitize_cov*() tail calls
On Sat, 26 Jun 2021 10:18:12 +0200
Peter Zijlstra <peterz@infradead.org> wrote:

> > > + if (mcount && !strcmp(insn->call_dest->name, "__fentry__")) {
> > > + if (sibling)
> > > + WARN_FUNC("Tail call to __fentry__ !?!?", insn->sec, insn->offset);
> >
> > Have you ever triggered the above?
>
> No, that would be really daft. But since this function is to be called
> for both regular and tail calls, I figured I'd at least pretend to
> handle the case.

OK. I thought this was like one of those weird laws that were made
because you know that someone did something really stupid once.

-- Steve

\
 
 \ /
  Last update: 2021-06-29 03:08    [W:0.096 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site