Marc Mutz e744561c35 QFontEngine: reduce unnecessary relocations
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>
2025-03-06 21:57:45 +00:00
2025-03-06 21:09:24 +00:00
2025-03-06 02:45:40 +00:00
2024-11-05 14:36:16 +01:00
2024-11-05 14:36:16 +01:00
2025-02-10 21:26:21 +00:00
2024-06-25 11:44:00 +02:00
2025-02-18 13:12:18 +00:00
2025-02-18 13:12:18 +00:00
Description
Qt Base (Core, Gui, Widgets, Network, ...)
822 MiB
Languages
C++ 84.3%
HTML 4.9%
C 3.9%
CMake 3.6%
Objective-C++ 2%
Other 0.8%