Bug 74947

Summary: [chromium] enable WPO for WebCore libs in official builds
Product: WebKit Reporter: Tony Chang <tony>
Component: New BugsAssignee: Tony Chang <tony>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, jamesr, thakis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch jamesr: review+

Tony Chang
Reported 2011-12-20 11:53:01 PST
[chromium] enable WPO for WebCore libs in official builds
Attachments
Patch (3.44 KB, patch)
2011-12-20 11:54 PST, Tony Chang
jamesr: review+
Tony Chang
Comment 1 2011-12-20 11:54:05 PST
Tony Chang
Comment 2 2011-12-20 11:55:57 PST
The optimize change won't do anything until http://codereview.chromium.org/8983002/ is landed and rolled into webkit. It's harmless until then.
James Robinson
Comment 3 2011-12-20 12:03:13 PST
Comment on attachment 120050 [details] Patch RS=me
Nico Weber
Comment 4 2011-12-20 12:04:15 PST
Comment on attachment 120050 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=120050&action=review lgtm > Source/WebCore/WebCore.gyp/WebCore.gyp:49 > + 'enable_wexit_time_destructors': 1, If this works, it's great. I hadn't tried building tests, so I don't know if there's anything left there. I guess the bots will tell you :-)
James Robinson
Comment 5 2011-12-20 12:06:05 PST
Comment on attachment 120050 [details] Patch Resetting flag that Nico cleared
Tony Chang
Comment 6 2011-12-20 12:15:22 PST
(In reply to comment #4) > (From update of attachment 120050 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=120050&action=review > > Source/WebCore/WebCore.gyp/WebCore.gyp:49 > > + 'enable_wexit_time_destructors': 1, > > If this works, it's great. I hadn't tried building tests, so I don't know if there's anything left there. > > I guess the bots will tell you :-) I re-ran gyp with this change (and clang=1) and verified that the generated .mk files have -Wexit-time-destructors. I'm assume if that if it works for enable_wexit_time_destructors, then it will also work for optimize.
Tony Chang
Comment 7 2011-12-20 13:45:36 PST
Note You need to log in before you can comment on or make changes to this bug.