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

Chris Bieneman beanz at apple.com
Tue Jun 23 13:23:59 PDT 2015


================
Comment at: lib/sanitizer_common/sanitizer_platform.h:41
@@ -40,1 +40,3 @@
 # endif
+# if TARGET_IPHONE_SIMULATOR
+#  define SANITIZER_IOSSIM 1
----------------
samsonov wrote:
> Can this be #defined together with `TARGET_OS_IPHONE`?
Yes. TARGET_OS_IPHONE is always 1 when TARGET_IPHONE_SIMULATOR is 1.

The iOS simulator platform conditionals are designed to be additive on top of the OS.

http://reviews.llvm.org/D10514

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






More information about the llvm-commits mailing list