qt5base-lts/tests/auto/corelib
Andrei Golubev 37e26d2b30 Extend alignment of QArrayData to std::max_align_t in allocation
Make stricter alignment requirements for the allocated header

This strict alignment allows reallocateUnaligned() to property account
for the padding occurring in cases when
alignof(QArrayData) < alignof(T) <= alignof(std::max_align_t), which
happens to be the case on e.g. 32-bit platforms with specific alignment
requirements.

This adds 4 bytes (the difference between alignof(std::max_align_t) and
sizeof(QArrayData)) of overhead for QString, QByteArray and certain QLists
on 32-bit systems.

Task-number: QTBUG-90359
Pick-to: 6.0
Change-Id: I8176a4cc79f100ee772b09425e88fe8ff3ae226a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-26 08:01:27 +00:00
..
animation tst_qsequentialanimationgroup.cpp: Avoid some memory leaks 2021-01-21 14:40:42 +01:00
global Remove the QT_CMAKE_BUILD preprocessor define 2021-01-22 19:22:15 +01:00
io Android: skip tst_QFile::moveToTrash() 2021-01-19 13:17:55 +00:00
itemmodels Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
kernel QProperty: Add private isAnyBindingEvaluating function 2021-01-21 17:00:29 +01:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
text QLocale: Allow direct conversion from language, country, and script codes 2021-01-25 19:56:59 +01:00
thread tst_QThreadPool: avoid a potential memory leaks 2021-01-19 14:17:55 +01:00
time Correct string comparison in Android's IANA ID matching code 2021-01-18 15:55:15 +01:00
tools Extend alignment of QArrayData to std::max_align_t in allocation 2021-01-26 08:01:27 +00:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00