[compiler-rt] r319349 - [compiler-rt] Switch from deprecated TARGET_IPHONE_SIMULATOR to TARGET_OS_SIMULATOR

Kuba Mracek via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 11:47:14 PST 2017


Author: kuba.brecka
Date: Wed Nov 29 11:47:14 2017
New Revision: 319349

URL: http://llvm.org/viewvc/llvm-project?rev=319349&view=rev
Log:
[compiler-rt] Switch from deprecated TARGET_IPHONE_SIMULATOR to TARGET_OS_SIMULATOR

Differential Revision: https://reviews.llvm.org/D39987


Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform.h

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform.h?rev=319349&r1=319348&r2=319349&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_platform.h Wed Nov 29 11:47:14 2017
@@ -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




More information about the llvm-commits mailing list