asan.xcconfig should use CLANG_ADDRESS_SANITIZER=YES instead of -fsanitize=address
authordburkart@apple.com <dburkart@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Jan 2015 00:30:07 +0000 (00:30 +0000)
committerdburkart@apple.com <dburkart@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Jan 2015 00:30:07 +0000 (00:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=141015

Reviewed by Alexey Proskuryakov.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@179312 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/asan/asan.xcconfig

index 6181471..252530c 100644 (file)
@@ -1,3 +1,12 @@
+2015-01-28  Dana Burkart  <dburkart@apple.com>
+
+        asan.xcconfig should use CLANG_ADDRESS_SANITIZER=YES instead of -fsanitize=address
+        https://bugs.webkit.org/show_bug.cgi?id=141015
+
+        Reviewed by Alexey Proskuryakov.
+
+        * asan/asan.xcconfig:
+
 2015-01-28  Sam Weinig  <sam@webkit.org>
 
         Fix the build.
index 11ac5be..856ad99 100644 (file)
@@ -10,8 +10,9 @@ GCC_OPTIMIZATION_LEVEL_Debug = 0;
 GCC_OPTIMIZATION_LEVEL_Production = 1;
 GCC_OPTIMIZATION_LEVEL_Release = 1;
 
-ASAN_OTHER_CFLAGS = -fsanitize=address -fsanitize-blacklist=$(ASAN_IGNORE) -fno-omit-frame-pointer -g;
+CLANG_ADDRESS_SANITIZER=YES
+
+ASAN_OTHER_CFLAGS = -fsanitize-blacklist=$(ASAN_IGNORE) -fno-omit-frame-pointer -g;
 ASAN_OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CFLAGS);
-ASAN_OTHER_LDFLAGS = -fsanitize=address;
 
 GCC_ENABLE_OBJC_GC = NO;