Fix building for iOS
authorNick Kledzik <kledzik@apple.com>
Thu, 26 Jun 2014 00:25:33 +0000 (00:25 +0000)
committerNick Kledzik <kledzik@apple.com>
Thu, 26 Jun 2014 00:25:33 +0000 (00:25 +0000)
llvm-svn: 211751

libcxxabi/src/Unwind/UnwindRegistersRestore.S

index 1feb1d5..362a5b0 100644 (file)
@@ -308,7 +308,7 @@ DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9libunwind15Registers_arm646jumptoEv)
   ldp    x0, x1,  [x0, #0x000]  ; restore x0,x1
   ret    lr            ; jump to pc
 
-#elif __arm__
+#elif __arm__ && !__APPLE__
 
 @
 @ void libunwind::Registers_arm::restoreCoreAndJumpTo()