[PATCH] D39987: [compiler-rt] Switch from deprecated TARGET_IPHONE_SIMULATOR to TARGET_OS_SIMULATOR

Kuba (Brecka) Mracek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 16:32:52 PST 2017


kubamracek created this revision.
kubamracek added a project: Sanitizers.
Herald added a subscriber: dberris.

Repository:
  rL LLVM

https://reviews.llvm.org/D39987

Files:
  lib/sanitizer_common/sanitizer_platform.h


Index: lib/sanitizer_common/sanitizer_platform.h
===================================================================
--- lib/sanitizer_common/sanitizer_platform.h
+++ lib/sanitizer_common/sanitizer_platform.h
@@ -44,7 +44,7 @@
 # else
 #  define SANITIZER_IOS    0
 # endif
-# if TARGET_IPHONE_SIMULATOR
+# if TARGET_OS_SIMULATOR
 #  define SANITIZER_IOSSIM 1
 # else
 #  define SANITIZER_IOSSIM 0


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39987.122745.patch
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/974ceb71/attachment.bin>


More information about the llvm-commits mailing list