Title: [177718] trunk/Tools
Revision
177718
Author
[email protected]
Date
2014-12-23 20:43:05 -0800 (Tue, 23 Dec 2014)

Log Message

Don't force -O1 for debug ASan builds
https://bugs.webkit.org/show_bug.cgi?id=139926

Reviewed by Darin Adler.

* asan/asan.xcconfig:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (177717 => 177718)


--- trunk/Tools/ChangeLog	2014-12-24 04:33:59 UTC (rev 177717)
+++ trunk/Tools/ChangeLog	2014-12-24 04:43:05 UTC (rev 177718)
@@ -1,5 +1,14 @@
 2014-12-23  Alexey Proskuryakov  <[email protected]>
 
+        Don't force -O1 for debug ASan builds
+        https://bugs.webkit.org/show_bug.cgi?id=139926
+
+        Reviewed by Darin Adler.
+
+        * asan/asan.xcconfig:
+
+2014-12-23  Alexey Proskuryakov  <[email protected]>
+
         Simplify building with ASan
         https://bugs.webkit.org/show_bug.cgi?id=139916
 

Modified: trunk/Tools/asan/asan.xcconfig (177717 => 177718)


--- trunk/Tools/asan/asan.xcconfig	2014-12-24 04:33:59 UTC (rev 177717)
+++ trunk/Tools/asan/asan.xcconfig	2014-12-24 04:43:05 UTC (rev 177718)
@@ -5,7 +5,12 @@
 TOOLCHAINS_macosx_101000 = default;
 TOOLCHAINS_macosx_101100 = $(TOOLCHAINS);
 
-ASAN_OTHER_CFLAGS = -fsanitize=address -O1 -fsanitize-blacklist=$(ASAN_IGNORE) -fno-omit-frame-pointer -g -DUSE_SYSTEM_MALLOC=1;
+GCC_OPTIMIZATION_LEVEL = $(GCC_OPTIMIZATION_LEVEL_$(CONFIGURATION));
+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 -DUSE_SYSTEM_MALLOC=1;
 ASAN_OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CFLAGS);
 ASAN_OTHER_LDFLAGS = -fsanitize=address;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to