From 0bc747c98da9032a122f57ba88d2f5b84b74d31b Mon Sep 17 00:00:00 2001
From: Eric Cano <Eric.Cano@cern.ch>
Date: Fri, 10 Nov 2017 14:25:05 +0100
Subject: [PATCH] Added helgrind suppression for shared_ptr.

---
 tests/helgrind.suppr | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/tests/helgrind.suppr b/tests/helgrind.suppr
index 1936be3754..4644eb969c 100644
--- a/tests/helgrind.suppr
+++ b/tests/helgrind.suppr
@@ -571,3 +571,13 @@
    fun:_ZNSt10shared_ptrINSt6thread10_Impl_baseEED1Ev
    ...
 }
+
+{
+   <insert_a_suppression_name_here>
+   Helgrind:Race
+   fun:_ZNSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EED1Ev
+   fun:_ZNSt12__shared_ptrINSt6thread10_Impl_baseELN9__gnu_cxx12_Lock_policyE2EED1Ev
+   fun:_ZNSt10shared_ptrINSt6thread10_Impl_baseEED1Ev
+   fun:_ZNSt6thread10_Impl_baseD1Ev
+   ...
+}
\ No newline at end of file
-- 
GitLab