Re: [PATCH v2 8/9] frame: Make unwind hints definitions available to other architectures

From: Josh Poimboeuf
Date: Thu Jul 30 2020 - 10:56:33 EST


On Thu, Jul 30, 2020 at 10:46:51AM +0100, Julien Thierry wrote:
> Unwind hints are useful to provide objtool with information about stack
> states in non-standard functions/code.
> While the type of information being provided might be very arch
> specific, the mechanism to provide the information can be useful for
> other architectures.
>
> Move the relevant unwint hint definitions for all architectures to
> see.

The scope of include/linux/frame.h has been creeping, it's no longer
just about frame pointers. Maybe we should rename it to objtool.h.

--
Josh