Changeset 274166 in webkit
- Timestamp:
- Mar 9, 2021, 12:11:42 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
-
ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/PlatformGTK.cmake (modified) (1 diff)
-
Source/WebCore/dom/EventTarget.cpp (modified) (1 diff)
-
Source/WebCore/dom/EventTarget.h (modified) (1 diff)
-
Source/cmake/OptionsGTK.cmake (modified) (1 diff)
-
Tools/ChangeLog (modified) (1 diff)
-
Tools/TestWebKitAPI/PlatformGTK.cmake (modified) (1 diff)
-
Tools/TestWebKitAPI/glib/TestExpectations.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r274010 r274166 1 2021-03-09 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 [GTK] Reenable -fvisibility=hidden 4 https://bugs.webkit.org/show_bug.cgi?id=181916 5 6 Reviewed by Don Olmstead. 7 8 In non-DEVELOPER_MODE builds, we rely on a linker version script to hide symbols that we 9 don't want to export. Building with hidden visibility might seem redundant with this, but 10 actually building with hidden visibility has advantages anyway. See 11 https://gcc.gnu.org/wiki/Visibility. 12 13 Note that I'm not confident GTK port can safely use -fvisibility-inlines-hidden, since it's 14 split between two shared objects. Also, because GTK is split into two shared objects, GTK 15 needs to build bmalloc and WTF as CMake OBJECT libraries, which is effectively the same as 16 using -Wl,--whole-archive to prevent symbols from being prematurely stripped away. 17 18 P.S. Major credit to Don Olmstead, who did most of the work to make this possible, which has 19 already landed in previous patches. 20 21 * Source/cmake/OptionsGTK.cmake: 22 1 23 2021-03-05 Michael Catanzaro <mcatanzaro@gnome.org> 2 24 -
trunk/Source/WebCore/ChangeLog
r274165 r274166 1 2021-03-09 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 [WPE][GTK] Reenable -fvisibility=hidden (and -fvisibility-inlines-hidden for WPE) 4 https://bugs.webkit.org/show_bug.cgi?id=181916 5 6 Reviewed by Don Olmstead. 7 8 We need to export the destructor of EventTarget. 9 10 * PlatformGTK.cmake: 11 * dom/EventTarget.cpp: 12 * dom/EventTarget.h: 13 1 14 2021-03-09 Antoine Quint <graouts@webkit.org> 2 15 -
trunk/Source/WebCore/PlatformGTK.cmake
r273970 r274166 8 8 9 9 set(WebCore_OUTPUT_NAME WebCoreGTK) 10 11 # FIXME: https://bugs.webkit.org/show_bug.cgi?id=18191612 # Remove these lines when turning on hidden visibility13 list(APPEND WebCore_PRIVATE_LIBRARIES WebKit::WTF)14 if (NOT USE_SYSTEM_MALLOC)15 list(APPEND WebCore_PRIVATE_LIBRARIES WebKit::bmalloc)16 endif ()17 10 18 11 list(APPEND WebCore_UNIFIED_SOURCE_LIST_FILES -
trunk/Source/WebCore/dom/EventTarget.cpp
r273138 r274166 67 67 } 68 68 69 EventTarget::~EventTarget() = default; 70 69 71 bool EventTarget::isNode() const 70 72 { -
trunk/Source/WebCore/dom/EventTarget.h
r273138 r274166 104 104 105 105 protected: 106 virtual ~EventTarget() = default;106 WEBCORE_EXPORT virtual ~EventTarget(); 107 107 108 108 virtual EventTargetData* eventTargetData() = 0; -
trunk/Source/cmake/OptionsGTK.cmake
r274010 r274166 18 18 19 19 CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(JAVASCRIPTCORE 37 0 19) 20 21 set(CMAKE_C_VISIBILITY_PRESET hidden) 22 set(CMAKE_CXX_VISIBILITY_PRESET hidden) 23 set(bmalloc_LIBRARY_TYPE OBJECT) 24 set(WTF_LIBRARY_TYPE OBJECT) 20 25 21 26 # These are shared variables, but we special case their definition so that we can use the -
trunk/Tools/ChangeLog
r274159 r274166 1 2021-03-09 Michael Catanzaro <mcatanzaro@gnome.org> 2 3 [GTK] Reenable -fvisibility=hidden 4 https://bugs.webkit.org/show_bug.cgi?id=181916 5 6 Reviewed by Don Olmstead. 7 8 * TestWebKitAPI/PlatformGTK.cmake: 9 * TestWebKitAPI/glib/TestExpectations.json: 10 1 11 2021-03-09 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Tools/TestWebKitAPI/PlatformGTK.cmake
r274010 r274166 28 28 GTK::GTK 29 29 ) 30 31 # FIXME: Remove when turning on hidden visibility https://bugs.webkit.org/show_bug.cgi?id=18191632 list(APPEND TestJavaScriptCore_LIBRARIES WTF)33 30 34 31 # TestWebCore -
trunk/Tools/TestWebKitAPI/glib/TestExpectations.json
r273735 r274166 295 295 "/jsc/vm": { 296 296 "expected": {"all": {"slow": true}} 297 }, 298 "/jsc/weak-value": { 299 "expected": {"all": {"status": ["FAIL", "PASS"], "bug": "webkit.org/b/222972"}} 297 300 } 298 301 }
Note:
See TracChangeset
for help on using the changeset viewer.