Address post-commit review comments

llvm-svn: 229207
This commit is contained in:
Jonathan Roelofs 2015-02-14 01:38:35 +00:00
parent 8f2b4f0be8
commit bb755d614a

View File

@ -317,6 +317,9 @@ DEFINE_LIBUNWIND_FUNCTION(unw_getcontext)
str lr, [r0, #60] @ store return address as pc
#endif
#if __ARM_ARCH_ISA_THUMB1 == 1
@ T1 does not have a non-cpsr-clobbering register-zeroing instruction.
@ It is safe to use here though because we are about to return, and cpsr is
@ not expected to be preserved.
movs r0, #0 @ return UNW_ESUCCESS
#else
mov r0, #0 @ return UNW_ESUCCESS