|
From: Paul F. <pa...@so...> - 2022-05-31 20:23:37
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=c821499df3efeabbbd116a6216496f265311fe39 commit c821499df3efeabbbd116a6216496f265311fe39 Author: Paul Floyd <pj...@wa...> Date: Tue May 31 22:18:13 2022 +0200 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: --- 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* +} |