arm64: Handle sp, lr, fp as DwReg in CfiExpr
commitb92d30bb6de3aec40be9ad368f10f881e2b84ca7
authorMark Wielaard <mark@klomp.org>
Thu, 4 Mar 2021 18:24:06 +0000 (4 19:24 +0100)
committerMark Wielaard <mark@klomp.org>
Thu, 4 Mar 2021 18:24:06 +0000 (4 19:24 +0100)
tree2418f7cc1b61bd287f932eca41c46adc8a638bb0
parent23223e28a5ce1a62ee7cf0a7c578d6c0c8f0136b
arm64: Handle sp, lr, fp as DwReg in CfiExpr

When copy_convert_CfiExpr_tree sees a DwReg on arm64 we simply call
I_die_here; This causes an issue in the case we really do have to handle
that case (see https://bugzilla.redhat.com/show_bug.cgi?id=1923493).

Handle the stack pointer (sp), link register (x30) and frame pointer (x29),
which we already keep in D3UnwindRegs, like we do for other architectures
in evalCfiExpr and copy_convert_CfiExpr_tree.

https://bugs.kde.org/show_bug.cgi?id=433898
NEWS
coregrind/m_debuginfo/d3basics.c
coregrind/m_debuginfo/debuginfo.c
coregrind/m_debuginfo/priv_storage.h
coregrind/m_debuginfo/readdwarf.c
coregrind/m_debuginfo/storage.c