WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
24345
wxWebkit should make use of gcc(4 and greater) hidden visibility feature
https://bugs.webkit.org/show_bug.cgi?id=24345
Summary
wxWebkit should make use of gcc(4 and greater) hidden visibility feature
Malcolm MacLeod
Reported
2009-03-04 01:31:38 PST
wxWebKit does not currently make use of the gcc hidden visibility features that are available since gcc 4. Changing it to make use of these features is trivial as everything is already in place to do so, so the gains that can be had are almost for free. I have done so and it results in a +-35% binary size decrease (From 30Mib down to 19mib on a 64 bit system). Obviously this also speeds up linking time and other similar benefits. I will attach the patch to enable this below.
Attachments
Patch to enable hidden visibility for gcc > 4
(1.70 KB, patch)
2009-03-04 01:32 PST
,
Malcolm MacLeod
kevino
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Malcolm MacLeod
Comment 1
2009-03-04 01:32:30 PST
Created
attachment 28259
[details]
Patch to enable hidden visibility for gcc > 4
Malcolm MacLeod
Comment 2
2009-03-04 01:34:50 PST
Forgot to mention that this has been tested successfully on both an x86 system with GCC 4.1.2 as well as an x86_64 system with GCC 4.3.3
Kevin Ollivier
Comment 3
2009-05-05 16:12:03 PDT
Landed in
r43260
, thanks!
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