Bug 147840 - Make ASan build not depend on asan.xcconfig
Summary: Make ASan build not depend on asan.xcconfig
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-10 13:49 PDT by Alexey Proskuryakov
Modified: 2015-08-11 16:50 PDT (History)
8 users (show)

See Also:


Attachments
proposed patch (11.11 KB, patch)
2015-08-10 13:57 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2015-08-10 13:49:38 PDT
Address Sanitizer can be enabled by forcing clang build flags from any build system, but we currently depend on injecting asan.xcconfig.

rdar://problem/21093702
Comment 1 Alexey Proskuryakov 2015-08-10 13:57:13 PDT
Created attachment 258649 [details]
proposed patch

To be clear, we will still be using the xcconfig to enable ASan on Mac, however it won't be required.

The patch is mechanical; it's possible that we don't need to use asanUnsafeJSValue() just as much.
Comment 2 Daniel Bates 2015-08-11 11:59:32 PDT
Comment on attachment 258649 [details]
proposed patch

OK.
Comment 3 Filip Pizlo 2015-08-11 15:40:03 PDT
Comment on attachment 258649 [details]
proposed patch

LGTM
Comment 4 WebKit Commit Bot 2015-08-11 16:50:22 PDT
Comment on attachment 258649 [details]
proposed patch

Clearing flags on attachment: 258649

Committed r188311: <http://trac.webkit.org/changeset/188311>
Comment 5 WebKit Commit Bot 2015-08-11 16:50:26 PDT
All reviewed patches have been landed.  Closing bug.