qt5base-lts/tests/auto/corelib
Thiago Macieira 0ab3c5c250 QPluginLoader/ELF: fix Clang ASan builds
Clang aligns the object at 32-byte boundaries even though we
specifically asked for alignof(void*), so tell it not to sanitize the
address of the plugin object. Tested with Clang 12 and 13.

GCC seems not to be affected, even when ASan is enabled.

If this doesn't work, we may need to accept reading a note that is
improperly aligned. I don't think the output will be actually a correct
note because the intra-note alignment will be wrong (I carefully chose
the ELF note name so it would not require alignment, but that's only
valid up to 8-byte alignments).

Fixes: QTBUG-97941
Change-Id: Ice04365c72984d07a64dfffd16b422fe074d8a70
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-11-04 18:20:09 +01:00
..
animation Avoid use after free in tst_qsequentialanimationgroup 2021-06-02 16:45:23 +02:00
global CMake: remove support for building Qt with the old Intel compiler 2021-10-13 12:49:49 -07:00
io tst_qfile: Remove unused methods 2021-11-03 13:42:36 +01:00
itemmodels Untangle qsortfilterproxymodel unittests 2021-10-01 18:30:25 +02:00
kernel tst_QVariant: suppress warning about memcpying over QVariant 2021-10-21 23:40:40 +00:00
mimetypes Compile autotests for Integrity 2021-09-20 17:29:04 +03:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin QPluginLoader/ELF: fix Clang ASan builds 2021-11-04 18:20:09 +01:00
serialization Remove conditioning on Android embedded 2021-09-17 17:30:14 +02:00
text QByteArrayList: add join(QByteArrayView) 2021-11-04 01:16:16 +01:00
thread Consistently restore threadpool limit at end of tests 2021-10-22 09:43:42 +02:00
time Fix handling of time-zone gap in QTimeZonePrivate::dataForLocalTime() 2021-10-12 22:52:50 +02:00
tools qlibraryinfo.cpp: use qOffsetStringArray for qtConfEntries 2021-11-03 14:54:37 -07:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00