[PATCH] ARM Unwind syntax in libcxxabi

Jonathan Roelofs jonathan at codesourcery.com
Sun Sep 7 12:23:32 PDT 2014



On 9/7/14, 12:41 PM, Saleem Abdulrasool wrote:
> ================
> Comment at: src/Unwind/UnwindRegistersRestore.S:329
> @@ -328,3 +328,3 @@
>     ldr lr, [lr, #60]  @ restore pc into lr
> -#if _ARM_ARCH > 4
> +#if __ARM_ARCH > 4
>     bx lr
> ----------------
> Wow.  Did this even work previously?  This feels like it could be split out into a separate patch to first address use of the branch on ARM v4.
Probably my fault. I guess there aren't many people building thumb unwinders...

Jon
>
> ================
> Comment at: src/Unwind/UnwindRegistersRestore.S:368
> @@ +367,3 @@
> +#else
> +  vldmia r0, {d0-d15} @ fldmiax is deprecated in ARMv7+ and now behaves like vldmia
> +#endif
> ----------------
> Why the comment here but not previously?  Im not sure it really adds much.  However, I would say that the comment indicating that fldmiax is equivalent to the ldc is more useful and it may be nice to restore those.
>
> http://reviews.llvm.org/D5234
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the llvm-commits mailing list