Make bmalloc work with ASan
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Jan 2015 00:30:57 +0000 (00:30 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 10 Jan 2015 00:30:57 +0000 (00:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140194

Reviewed by Mark Lam.

* asan/asan.xcconfig: No need to disable FastMalloc; bmalloc supports
ASan automatically (by forwarding to system malloc at runtime).

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

Tools/ChangeLog
Tools/asan/asan.xcconfig

index 2a4dfaa..43e5699 100644 (file)
@@ -1,3 +1,13 @@
+2015-01-07  Geoffrey Garen  <ggaren@apple.com>
+
+        Make bmalloc work with ASan
+        https://bugs.webkit.org/show_bug.cgi?id=140194
+
+        Reviewed by Mark Lam.
+
+        * asan/asan.xcconfig: No need to disable FastMalloc; bmalloc supports
+        ASan automatically (by forwarding to system malloc at runtime).
+
 2015-01-09  Daniel Bates  <dabates@apple.com>
 
         [iOS] Make DumpRenderTree build with public SDK
index 62c61c6..11ac5be 100644 (file)
@@ -10,7 +10,7 @@ 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_CFLAGS = -fsanitize=address -fsanitize-blacklist=$(ASAN_IGNORE) -fno-omit-frame-pointer -g;
 ASAN_OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CFLAGS);
 ASAN_OTHER_LDFLAGS = -fsanitize=address;