Bug 1824768 - Add TSan suppressions for external libs. r=decoder

Differential Revision: https://phabricator.services.mozilla.com/D173791
This commit is contained in:
Tyson Smith 2023-07-07 10:12:54 +00:00
Родитель e3a18b3a72
Коммит afac244b61
2 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@ -40,11 +40,14 @@ extern "C" const char* __tsan_default_options() {
// every application would want to include if it potentially loads external
// libraries like GTK/X and hence their dependencies.
# define MOZ_TSAN_DEFAULT_EXTLIB_SUPPRESSIONS \
"called_from_lib:libappmenu-gtk3-parser\n" \
"called_from_lib:libatk-1\n" \
"called_from_lib:libcairo.so\n" \
"called_from_lib:libcairo-gobject\n" \
"called_from_lib:libfontconfig1\n" \
"called_from_lib:libdconfsettings\n" \
"called_from_lib:libEGL_nvidia\n" \
"called_from_lib:libfontconfig.so\n" \
"called_from_lib:libfontconfig1\n" \
"called_from_lib:libgdk-3\n" \
"called_from_lib:libgdk_pixbuf\n" \
"called_from_lib:libgdk-x11\n" \
@ -57,6 +60,8 @@ extern "C" const char* __tsan_default_options() {
"called_from_lib:libgvfscommon\n" \
"called_from_lib:libgvfsdbus\n" \
"called_from_lib:libibus-1\n" \
"called_from_lib:libnvidia-eglcore\n" \
"called_from_lib:libnvidia-glsi\n" \
"called_from_lib:libogg.so\n" \
"called_from_lib:libpango-1\n" \
"called_from_lib:libpangocairo\n" \

Просмотреть файл

@ -59,6 +59,9 @@ extern "C" const char* __tsan_default_suppressions() {
// Bug 1825171
"mutex:libffi.so\n"
"mutex:wl_registry_destroy\n"
// Bug 1824768
"mutex:libdbus-1\n"
"mutex:swrast_dri.so\n"
// Bug 1651446 - permanent (ffmpeg)
"race:libavcodec.so*\n"
"race:libavutil.so*\n"
@ -80,6 +83,10 @@ extern "C" const char* __tsan_default_suppressions() {
// calling into uninstrumented external graphics driver code.
// For example: iris_dri.so and swrast_dri.so.
"race:fire_glxtest_process\n"
"race:iris_dri\n"
// Bug 1824768
"race:libLLVM-12\n"
"race:radeonsi_dri\n"
// Bug 1722721 - WebRender using uninstrumented Mesa drivers
"race:swrast_dri.so\n"
// Bug 1825171