RESOLVED FIXED 124362
Copy ASAN flag settings to WebCore and JavaScriptCore intermediate build tools
https://bugs.webkit.org/show_bug.cgi?id=124362
Summary Copy ASAN flag settings to WebCore and JavaScriptCore intermediate build tools
David Farler
Reported 2013-11-14 09:01:27 PST
There is an outstanding bug when using trunk clang that operators new, new[], delete, and delete[] cannot be declared inline. This only shows up when USE_SYSTEM_MALLOC==0 and FastMalloc.h is included. ASAN builds with -DUSE_SYSTEM_MALLOC, so this problem doesn’t normally crop up. Up to now, the intermediate build tools weren’t built with ASAN because there isn’t a pressing need and it may kill the build. However, ASAN_OPTIONS is set to extremely lenient settings during the build and there haven’t been any false positives in these tools. For better uniformity of the xcconfigs and to avoid any special logic to build some projects without ASAN yet with USE_SYSTEM_MALLOC, I’d like to just use the same C*FLAGS = $(ASAN_C*FLAGS) options that all of the other targets are using to keep the ASAN builds going.
Attachments
Patch (3.26 KB, patch)
2013-11-14 09:20 PST, David Farler
ddkilzer: review+
David Farler
Comment 1 2013-11-14 09:20:11 PST
David Kilzer (:ddkilzer)
Comment 2 2013-11-15 02:27:53 PST
Comment on attachment 216947 [details] Patch r=me
David Farler
Comment 3 2013-11-15 16:08:56 PST
Note You need to log in before you can comment on or make changes to this bug.