From: Paul Floyd Date: Tue, 31 May 2022 20:18:13 +0000 (+0200) Subject: Add suppresions for DRD and Helgrind, guard variables on FreeBSD 14.0 X-Git-Tag: VALGRIND_3_20_0~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c821499df3efeabbbd116a6216496f265311fe39;p=thirdparty%2Fvalgrind.git Add suppresions for DRD and Helgrind, guard variables on FreeBSD 14.0 This is a change probably related to clang 13. guard variables make the initialization of function static variables thread safe (only the initialization, not other accesses). --- diff --git a/freebsd-drd.supp b/freebsd-drd.supp index 61bbec762b..26b65caca8 100644 --- a/freebsd-drd.supp +++ b/freebsd-drd.supp @@ -185,3 +185,8 @@ drd:ConflictingAccess fun:_ZNSt3__119__thread_local_dataEv } +{ + DRD-FREEBSD140-GUARD-VARIABLE + drd:ConflictingAccess + fun:_ZL11get_counterv +} diff --git a/freebsd-helgrind.supp b/freebsd-helgrind.supp index c09a361801..55ed8394b5 100644 --- a/freebsd-helgrind.supp +++ b/freebsd-helgrind.supp @@ -184,3 +184,8 @@ obj:/lib/libgcc_s.so.1 fun:_Unwind_ForcedUnwind } +{ + HELGRIND-GUARD-VARIABLE + Helgrind:Race + fun:_ZL11* +}