unw_getcontext() should return UNW_ESUCCESS on success. However, the assembly
for AArch64 is incorrect since "ldr x0, #0" is a PC-relative load instead of an
immediate value load.
This patch should fix the problem by changing ldr to mov.
Differential D10720
libunwind: Fix unw_getcontext() return value on AArch64. logan on Jun 24 2015, 5:29 PM. Authored by
Details
Diff Detail Event Timeline |