WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
69584
Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
https://bugs.webkit.org/show_bug.cgi?id=69584
Summary
Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
Anders Carlsson
Reported
2011-10-06 17:07:24 PDT
Add DEFINE_DEBUG_ONLY_GLOBAL for globals that should be defined in debug builds
Attachments
Patch
(15.54 KB, patch)
2011-10-06 17:12 PDT
,
Anders Carlsson
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2011-10-06 17:12:44 PDT
Created
attachment 110063
[details]
Patch
Darin Adler
Comment 2
2011-10-06 17:15:55 PDT
Comment on
attachment 110063
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=110063&action=review
> Source/JavaScriptCore/wtf/StdLibExtras.h:48 > +// non-trivial constructor and destructor. When building with clang, this will supress > +// warnings about global constructors and exit-time destructors.
How does it suppress those warnings? Typo: suppress
WebKit Review Bot
Comment 3
2011-10-06 17:16:08 PDT
Attachment 110063
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/WebCore/dom/Node.cpp:288: Extra space before ) [whitespace/parens] [2] Total errors found: 1 in 23 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 4
2011-10-06 17:18:50 PDT
(In reply to
comment #2
)
> (From update of
attachment 110063
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=110063&action=review
> > > Source/JavaScriptCore/wtf/StdLibExtras.h:48 > > +// non-trivial constructor and destructor. When building with clang, this will supress > > +// warnings about global constructors and exit-time destructors. > > How does it suppress those warnings? >
I'll add that in an upcoming patch - I removed the last sentence for now.
Anders Carlsson
Comment 5
2011-10-06 17:19:21 PDT
Committed
r96880
: <
http://trac.webkit.org/changeset/96880
>
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