]> git.saurik.com Git - apple/libsystem.git/commitdiff
Libsystem-1252.250.1.tar.gz macos-10144 macos-10145 macos-10146 v1252.250.1
authorApple <opensource@apple.com>
Tue, 18 Jun 2019 00:48:12 +0000 (00:48 +0000)
committerApple <opensource@apple.com>
Tue, 18 Jun 2019 00:48:12 +0000 (00:48 +0000)
Libsystem.xcconfig

index 7733806bb16e7d3344e4a71c76e2e87691ef8c7a..a385bded2dc3cb798bdcb45f7c811ca35535c674 100644 (file)
@@ -2,7 +2,12 @@
 
 // NO means only libSystem.B_asan.dylib will be ASanified.
 // YES means even the normal variant, libSystem.B.dylib, will be ASanified.
-ASAN_IN_NORMAL_VARIANT = NO
+//
+// XBS sets RC_SUPPORT_ADDRESS_SANITIZATION=1 to trigger the ASanified normal variant.
+ASAN_IN_NORMAL_VARIANT_1 = YES
+ASAN_IN_NORMAL_VARIANT_0 = NO
+ASAN_IN_NORMAL_VARIANT_ = NO
+ASAN_IN_NORMAL_VARIANT = $(ASAN_IN_NORMAL_VARIANT_$(RC_SUPPORT_ADDRESS_SANITIZATION))
 
 ASAN_CFLAGS_ =
 ASAN_CFLAGS_YES = -DCURRENT_VARIANT_asan=1