[PATCH] D39074: [libunwind][MIPS]: Add support for unwinding in N32 processes.

Simon Dardis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 12 08:54:52 PST 2018


sdardis added a comment.

Sorry for the delay in getting back to this, but testing this by building it explicitly for N32 (I built a full N32 compiler + libunwind and modified the test setup py to compile for N322) and I'm getting crashes on the return path in _Unwind_Backtrace.

The problem occurs when saving the registers, as saving the (second I believe) last register clobbers the saved return address. I've seen crashes on MIPS64 (eb). Qemu however is aborting at runtime, but I haven't had the time to trace the execution, and I haven't found a way yet to dump the locations of the shared  libraries at runtime to determine where the fault lies.

This was with GCC 4.9.2 (debian) on MIPS64 and our 2016.05-06 toolchain for qemu.


https://reviews.llvm.org/D39074





More information about the cfe-commits mailing list