[PATCH linux-next] ARM: unwind: use ex_frame with CONFIG_UNWINDER_FRAME_POINTER
Linus Walleij
linus.walleij at linaro.org
Mon May 29 02:46:40 PDT 2023
On Thu, May 18, 2023 at 10:58 AM <guo.ziliang at zte.com.cn> wrote:
> From: guo ziliang <guo.ziliang at zte.com.cn>
>
> We define ex_frame with CONFIG_UNWINDER_FRAME_POINTER in struct stackframe,
> struct stackframe
> {
> ......
> #ifdef CONFIG_UNWINDER_FRAME_POINTER
> bool ex_frame;
> #endif
> };
> but we just use ex_frame without CONFIG_UNWINDER_FRAME_POINTER in
> return_address() and unwind_frame().
> Maybe we should fix it.
>
> Signed-off-by: guo ziliang <guo.ziliang at zte.com.cn>
Looks reasonable:
Acked-by: Linus Walleij <linus.walleij at linaro.org>
Is it possible to create a .config which expose this problem?
Then mention in the commit message "if you select A and B
then compilation fails..."
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list