[PATCH] Working on reconciling out-of-tree patches to compiler-rt for building for iOS.

Alexey Samsonov vonosmas at gmail.com
Tue Jun 23 11:04:21 PDT 2015


================
Comment at: lib/sanitizer_common/sanitizer_platform.h:48
@@ -42,3 +47,3 @@
 # define SANITIZER_MAC     0
 # define SANITIZER_IOS     0
 #endif
----------------
You also need to define SANITIZER_IOSSIM to 0 here.

================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_posix.cc:55
@@ -56,1 +54,3 @@
 
+#if !SANITIZER_IOS
+#include <net/if_arp.h>
----------------
Any specific reason to move #include directives down here?

================
Comment at: lib/sanitizer_common/sanitizer_platform_limits_posix.cc:344
@@ -340,1 +343,3 @@
+#if !SANITIZER_IOS
   unsigned struct_arpreq_sz = sizeof(struct arpreq);
+#endif
----------------
Where do you get this constant from on iOS?

http://reviews.llvm.org/D10514

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list