Re: [PATCH v2 8/8] LoongArch: Add ORC unwinder support

From: Tiezhu Yang
Date: Tue Oct 17 2023 - 08:39:35 EST




On 10/15/2023 08:57 PM, Jinyang He wrote:
On 2023-10-14 19:37, Huacai Chen wrote:

...


Hi, Tiezhu,

We can think the jirl with link register is a call instruction.
loongarch_suspend_enter:
jirl a0, t0, 0 /* Call BIOS's STR sleep routine */
Its link register is a0, (not ra), we also think it is a call
instruction. The func is also stack banlaced. So the func can be a
regular function.

Yes, thank you, I will modify jirl decoder to handle this special case
in hibernate_asm.o.

Thanks,
Tiezhu