[libcxxabi] r229194 - Make the unwinder build on thumbv6-m with the integrated assembler.

Saleem Abdulrasool compnerd at compnerd.org
Fri Feb 13 17:59:30 PST 2015


On Fri, Feb 13, 2015 at 4:21 PM, Jonathan Roelofs <jonathan at codesourcery.com
> wrote:

> Author: jroelofs
> Date: Fri Feb 13 18:21:03 2015
> New Revision: 229194
>
> URL: http://llvm.org/viewvc/llvm-project?rev=229194&view=rev
> Log:
> Make the unwinder build on thumbv6-m with the integrated assembler.
>
> http://reviews.llvm.org/D7630
>
> Modified:
>     libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S
>
> Modified: libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S
> URL:
> http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S?rev=229194&r1=229193&r2=229194&view=diff
>
> ==============================================================================
> --- libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S (original)
> +++ libcxxabi/trunk/src/Unwind/UnwindRegistersSave.S Fri Feb 13 18:21:03
> 2015
> @@ -316,7 +316,11 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext
>    str lr, [r0, #56]
>    str lr, [r0, #60]  @ store return address as pc
>  #endif
> +#if __ARM_ARCH_ISA_THUMB1 == 1
>
                                                          ^
Unexpected 1 means that this shouldn't work correctly right?


> +  movs r0, #0        @ return UNW_ESUCCESS
> +#else
>    mov r0, #0         @ return UNW_ESUCCESS
> +#endif
>    JMP(lr)
>
>  @
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



-- 
Saleem Abdulrasool
compnerd (at) compnerd (dot) org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150213/1bf8511f/attachment.html>


More information about the cfe-commits mailing list