[PATCH] Working on reconciling out-of-tree patches to compiler-rt for building for iOS.
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 @@
+# if TARGET_IPHONE_SIMULATOR
+# define SANITIZER_IOSSIM 1
> 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.
More information about the llvm-commits