On 5/28/14, 9:08 AM, Dana Jansens wrote:
- // Copy the address of _Unwind_Control_Block to r12 so that _Unwind_GetLangauageSpecificData() - // and _Unwind_GetRegionStart() can return correct address. - _Unwind_SetGR(context, REG_UCB, reinterpret_cast<uint32_t>(unwind_exception));
libgcc does in fact need us to pass the UCB in r12. See: gcc-trunk-4.8/libgcc/arm/pr-support.c.
We should probably keep this, but put it under LIBCXXABI_USE_GLIBC for when using libgcc's unwinder with libc++abi, as our unwinder implementation doesn't do it that way.
Cheers, Jon -- Jon Roelofs [email protected] CodeSourcery / Mentor Embedded _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
