WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
160302
Remove unused check-for-exit-time-destructors, check-for-global-initializers scripts and deploy -Wexit-time-destructors, -Wglobal-constructors clang switches consistently
https://bugs.webkit.org/show_bug.cgi?id=160302
Summary
Remove unused check-for-exit-time-destructors, check-for-global-initializers ...
David Kilzer (:ddkilzer)
Reported
2016-07-28 10:49:29 PDT
Anders replaced the check-for-exit-time-destructors script with the -Wexit-time-destructors compiler flag and the check-for-global-initializers with the -Wglobal-constructors consistently a while ago. Now that clang on all supported platforms also supports -Wexit-time-destructors and -Wglobal-constructors, we can remove the scripts.
Attachments
Patch v1
(21.20 KB, patch)
2016-07-28 11:29 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Patch v2
(19.83 KB, patch)
2016-07-29 21:22 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Patch v3
(20.71 KB, patch)
2017-01-13 19:23 PST
,
David Kilzer (:ddkilzer)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2016-07-28 11:06:47 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
>
David Kilzer (:ddkilzer)
Comment 2
2016-07-28 11:29:55 PDT
Created
attachment 284796
[details]
Patch v1
David Kilzer (:ddkilzer)
Comment 3
2016-07-28 11:30:38 PDT
Comment on
attachment 284796
[details]
Patch v1 I'm assuming the new warning flags won't cause build failures, but let's check.
WebKit Commit Bot
Comment 4
2016-07-28 11:31:04 PDT
Note that there are important steps to take when updating ANGLE. See
http://trac.webkit.org/wiki/UpdatingANGLE
David Kilzer (:ddkilzer)
Comment 5
2016-07-28 11:32:13 PDT
(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!
David Kilzer (:ddkilzer)
Comment 6
2016-07-28 13:00:11 PDT
(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.
David Kilzer (:ddkilzer)
Comment 7
2016-07-28 22:10:19 PDT
(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
David Kilzer (:ddkilzer)
Comment 8
2016-07-29 21:22:50 PDT
Created
attachment 284937
[details]
Patch v2
David Kilzer (:ddkilzer)
Comment 9
2017-01-13 19:23:55 PST
Created
attachment 298831
[details]
Patch v3
Darin Adler
Comment 10
2017-01-13 19:42:18 PST
/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;
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug