Instead of static constexpr QL1SV objects (which force the compiler to allocate storage for them and therefore cause relocations), use mere automatic constexpr objects (which don't). There never was a need to make these objects static, as constexpr is enough to force the compiler to constant-fold them. Difference: qfontengine.cpp.o: - 0000000000000040 l O .data.rel.ro.local 0000000000000010 QFontEngine::findGlyph(QLatin1String) const::gid - 0000000000000000 l O .data.rel.ro.local 0000000000000010 QFontEngine::findGlyph(QLatin1String) const::uni 0000000000000000 l d .data.rel.ro.local 0000000000000000 .data.rel.ro.local See https://stackoverflow.com/questions/19067010/finding-where-relocations-originate/19338343#19338343 for the script to generate this output. See https://www.akkadia.org/drepper/dsohowto.pdf Section 1.6 for why we care. Amends 176816f21324bf736389037c62538a25f2522808. Task-number: QTBUG-100536 Change-Id: I3cdf42c9758ec32654b378a2b27b565a6c92c26b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru> (cherry picked from commit 511ee39570a104d07eb4c9fb0d8a8fb775e9b38a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%