summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qmutex.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2022-02-09 17:53:23 -0800
committerThiago Macieira <thiago.macieira@intel.com>2022-03-14 18:26:13 -0800
commit07b176ce70009f62fbce603c0495fa36c23b10d7 (patch)
treebf2e2ee686133dfde9bdd6e1a1c84ce0ab10727b /src/corelib/thread/qmutex.cpp
parentdda4186842d566fe30dabe1491f35357c02dfe85 (diff)
qversiontagging: merge the qt_version_tag symbols
The symbols all still exist, but they all have the same address. For example, in my Linux debug build: $ eu-readelf --dyn-syms lib/libQt6Core.t.so | grep qt_version_tag 4352: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag_6_0@@Qt_6 4356: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag_6_1@@Qt_6 4358: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag_6_2@@Qt_6 4362: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag_6_3@@Qt_6 4364: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag_6_4@@Qt_6 6458: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag@@Qt_6.4 6460: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag@Qt_6.0 6462: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag@Qt_6.2 6463: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag@Qt_6.3 6466: 00000000005e3e74 1 OBJECT GLOBAL DEFAULT 18 qt_version_tag@Qt_6.1 (The part after the @ is the ELF version; two @ indicates the default version) Saves N bytes where N is the Qt minor version number. The exclusion of Darwin (macOS) is because clang says that it has the "alias" attribute, but then fails when you use it. Change-Id: I74249c52dc02478ba93cfffd16d249d77d6f7565 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/thread/qmutex.cpp')
0 files changed, 0 insertions, 0 deletions