[PATCH] Working on reconciling out-of-tree patches to compiler-rt for building for iOS.
Chris Bieneman
beanz at apple.com
Wed Jun 17 13:19:15 PDT 2015
This is one of many changes needed for compiler-rt to get it building on iOS.
Darwin doesn't have _Unwind_VRS_Get, instead use _Unwind_GetIP directly.
Note: this change does not enable building for iOS, as there are more changes to come.
http://reviews.llvm.org/D10516
Files:
lib/sanitizer_common/sanitizer_unwind_posix_libcdep.cc
Index: lib/sanitizer_common/sanitizer_unwind_posix_libcdep.cc
===================================================================
--- lib/sanitizer_common/sanitizer_unwind_posix_libcdep.cc
+++ lib/sanitizer_common/sanitizer_unwind_posix_libcdep.cc
@@ -82,7 +82,7 @@
#endif
uptr Unwind_GetIP(struct _Unwind_Context *ctx) {
-#ifdef __arm__
+#if defined(__arm__) && !defined(__APPLE__)
uptr val;
_Unwind_VRS_Result res = _Unwind_VRS_Get(ctx, _UVRSC_CORE,
15 /* r15 = PC */, _UVRSD_UINT32, &val);
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10516.27865.patch
Type: text/x-patch
Size: 510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150617/ddf57d4c/attachment.bin>
More information about the llvm-commits
mailing list