From c821499df3efeabbbd116a6216496f265311fe39 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Tue, 31 May 2022 22:18:13 +0200 Subject: [PATCH] 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). --- freebsd-drd.supp | 5 +++++ freebsd-helgrind.supp | 5 +++++ 2 files changed, 10 insertions(+) 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* +} -- 2.47.2