<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Jun 25, 2014, at 10:04 PM, Nico Weber <<a href="mailto:thakis@chromium.org">thakis@chromium.org</a>> wrote:</div><blockquote type="cite"><div dir="ltr"><div><br></div><div>Is there some good way to test the iOS build locally?</div></div></blockquote><div><br></div><div>Nothing good ;-(</div><div><br></div><div>Internally we have an xcode project we copy into the libcxxabi project sources to build.  But it only actually builds for iOS if you command line build it with a bunch of special options that only our internal build system knows how to set up…</div><div><br></div><div>You might be able to add a mode to the buildit script to build with -arch armv7 and -miphoneos-version-min=7.0 and -isysroot pointing to an iOS SDK. </div><div><br></div><div>If libcxxabi was CMake based, I could probably tweak that to build for iOS…</div><div><br></div><div>-Nick</div><div><br></div><br><blockquote type="cite"><div class="gmail_extra">On Wed, Jun 25, 2014 at 5:25 PM, Nick Kledzik <span dir="ltr"><<a href="mailto:kledzik@apple.com" target="_blank">kledzik@apple.com</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: kledzik<br>
Date: Wed Jun 25 19:25:33 2014<br>
New Revision: 211751<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=211751&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=211751&view=rev</a><br>
Log:<br>
Fix building for iOS<br>
<br>
Modified:<br>
    libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S<br>
<br>
Modified: libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S?rev=211751&r1=211750&r2=211751&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S?rev=211751&r1=211750&r2=211751&view=diff</a><br>

==============================================================================<br>
--- libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S (original)<br>
+++ libcxxabi/trunk/src/Unwind/UnwindRegistersRestore.S Wed Jun 25 19:25:33 2014<br>
@@ -308,7 +308,7 @@ DEFINE_LIBUNWIND_PRIVATE_FUNCTION(_ZN9li<br>
   ldp    x0, x1,  [x0, #0x000]  ; restore x0,x1<br>
   ret    lr            ; jump to pc<br>
<br>
-#elif __arm__<br>
+#elif __arm__ && !__APPLE__<br>
<br>
 @<br>
 @ void libunwind::Registers_arm::restoreCoreAndJumpTo()<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>
</blockquote></div><br></body></html>