mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-08 09:03:18 +00:00
Address post-commit review comments
llvm-svn: 229207
This commit is contained in:
parent
8f2b4f0be8
commit
bb755d614a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user