Summary: | Remove unused check-for-exit-time-destructors, check-for-global-initializers scripts and deploy -Wexit-time-destructors, -Wglobal-constructors clang switches consistently | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||
Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||
Status: | NEW --- | ||||||||||
Severity: | Normal | CC: | andersca, ap, commit-queue, darin, dbates, ddkilzer, dino, enrica, graouts, kondapallykalyan, lforschler, thorton | ||||||||
Priority: | P2 | ||||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=22316 https://bugs.webkit.org/show_bug.cgi?id=22061 https://bugs.webkit.org/show_bug.cgi?id=160195 https://bugs.webkit.org/show_bug.cgi?id=83342 https://bugs.webkit.org/show_bug.cgi?id=22314 https://bugs.webkit.org/show_bug.cgi?id=22315 |
||||||||||
Bug Depends on: | 160332 | ||||||||||
Bug Blocks: | |||||||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2016-07-28 10:49:29 PDT
FYI: check-for-global-initializers was added in r13539: <https://trac.webkit.org/r13539> check-for-exit-time-destructors was added in r38100: <https://trac.webkit.org/r38100> Created attachment 284796 [details]
Patch v1
Comment on attachment 284796 [details]
Patch v1
I'm assuming the new warning flags won't cause build failures, but let's check.
Note that there are important steps to take when updating ANGLE. See http://trac.webkit.org/wiki/UpdatingANGLE (In reply to comment #3) > Comment on attachment 284796 [details] > Patch v1 > > I'm assuming the new warning flags won't cause build failures, but let's > check. And I was wrong! (In reply to comment #4) > Note that there are important steps to take when updating ANGLE. See > http://trac.webkit.org/wiki/UpdatingANGLE I'm going to break the ANGLE fixes out into a separate bug. (In reply to comment #6) > (In reply to comment #4) > > Note that there are important steps to take when updating ANGLE. See > > http://trac.webkit.org/wiki/UpdatingANGLE > > I'm going to break the ANGLE fixes out into a separate bug. Bug 160332: ANGLE: Fix global constructors and exit-time destructors Created attachment 284937 [details]
Patch v2
Created attachment 298831 [details]
Patch v3
/Volumes/Data/EWS/WebKit/Tools/DumpRenderTree/mac/DumpRenderTree.mm:180:20: error: declaration requires an exit-time destructor [-Werror,-Wexit-time-destructors] RefPtr<TestRunner> gTestRunner; /Volumes/Data/EWS/WebKit/Tools/DumpRenderTree/mac/DumpRenderTree.mm:216:31: error: declaration requires an exit-time destructor [-Werror,-Wexit-time-destructors] static RetainPtr<CFStringRef> persistentUserStyleSheetLocation; /Volumes/Data/EWS/WebKit/Tools/DumpRenderTree/mac/DumpRenderTree.mm:217:30: error: declaration requires an exit-time destructor [-Werror,-Wexit-time-destructors] static std::set<std::string> allowedHosts; |