WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
31800
External function declarations (in JSC) are exported with gcc
https://bugs.webkit.org/show_bug.cgi?id=31800
Summary
External function declarations (in JSC) are exported with gcc
Simon Hausmann
Reported
2009-11-23 03:45:43 PST
When WebKit is built with -fvisibility=hidden, but functions declared as extern are still exported. This is correct behaviour according to the gcc man-page. I propose to replace the direct use of extern "C" with macros that when compiling with gcc include a leading #pragma GCC visibility push(hidden) and a #pragma GCC visibility pop when closing the extern declaration.
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Hausmann
Comment 1
2009-11-23 03:46:43 PST
This should also allow us to get rid of the HIDE_SYMBOL macros in JITStubs.cpp
Jocelyn Turcotte
Comment 2
2014-02-03 03:50:35 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
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