Re: [PATCH] x86/sev: Mark snp_abort() noreturn

Peter Zijlstra
2022-08-24T16:16:53Z

On Wed, Aug 24, 2022 at 05:48:56PM +0200, Borislav Petkov wrote:
> On Wed, Aug 24, 2022 at 05:38:26PM +0200, Peter Zijlstra wrote:
> > You'll probably also have to add it to the
> > objtool/check.c:global_noreturn[] list, for the case where objtool fails
> > to recognise it as noreturn.
>
> How come?
>
> Doesn't objtool see the attribute?

If only there would be a trace of it left in the ELF file...