summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-02-14 01:38:35 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-02-14 01:38:35 +0000
commitbb755d614ab587019545d2dc3aa687788c90a90e (patch)
treecad9dada2506d2d48f41889cd74d434a4afda9e4 /libcxxabi/src
parent8f2b4f0be8ce083a2fd44100d798adb7943ae1c6 (diff)
downloadbcm5719-llvm-bb755d614ab587019545d2dc3aa687788c90a90e.tar.gz
bcm5719-llvm-bb755d614ab587019545d2dc3aa687788c90a90e.zip
Address post-commit review comments
llvm-svn: 229207
Diffstat (limited to 'libcxxabi/src')
-rw-r--r--libcxxabi/src/Unwind/UnwindRegistersSave.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxxabi/src/Unwind/UnwindRegistersSave.S b/libcxxabi/src/Unwind/UnwindRegistersSave.S
index aa437ca2a17..de100a5d86b 100644
--- a/libcxxabi/src/Unwind/UnwindRegistersSave.S
+++ b/libcxxabi/src/Unwind/UnwindRegistersSave.S
@@ -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
OpenPOWER on IntegriCloud