From ae5ea6cab040003f565775b132d243157b25a152 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Fri, 26 Aug 2011 20:41:20 +0000 Subject: [PATCH] valgrind: Always suppress tblgen leaks. I'll clean up the rest of the XFAIL: vg_leak lines if this works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138652 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/TableGen/CStyleComment.td | 1 - test/TableGen/Include.td | 1 - test/TableGen/nested-comment.td | 1 - utils/valgrind/i386-pc-linux-gnu.supp | 6 ++++++ utils/valgrind/x86_64-pc-linux-gnu.supp | 6 ++++++ 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/test/TableGen/CStyleComment.td b/test/TableGen/CStyleComment.td index cc203d0fd0f..703ae6837eb 100644 --- a/test/TableGen/CStyleComment.td +++ b/test/TableGen/CStyleComment.td @@ -1,7 +1,6 @@ // Test that multiline, nested, comments work correctly. // // RUN: tblgen < %s -// XFAIL: vg_leak /* Foo bar diff --git a/test/TableGen/Include.td b/test/TableGen/Include.td index 9b020e6871e..29ed5150c62 100644 --- a/test/TableGen/Include.td +++ b/test/TableGen/Include.td @@ -1,5 +1,4 @@ // RUN: tblgen -I %p %s -// XFAIL: vg_leak def BeforeInclude; include "Include.inc" diff --git a/test/TableGen/nested-comment.td b/test/TableGen/nested-comment.td index 98313576e38..68e29581bc7 100644 --- a/test/TableGen/nested-comment.td +++ b/test/TableGen/nested-comment.td @@ -1,5 +1,4 @@ // RUN: tblgen < %s -// XFAIL: vg_leak /* foo diff --git a/utils/valgrind/i386-pc-linux-gnu.supp b/utils/valgrind/i386-pc-linux-gnu.supp index ddd0a081f00..91c0ea12e8b 100644 --- a/utils/valgrind/i386-pc-linux-gnu.supp +++ b/utils/valgrind/i386-pc-linux-gnu.supp @@ -40,6 +40,12 @@ obj:/usr/bin/python* } +{ + We don't care if tblgen leaks + Memcheck:Leak + obj:*/tblgen +} + { We don't care about anything ld.so does. Memcheck:Cond diff --git a/utils/valgrind/x86_64-pc-linux-gnu.supp b/utils/valgrind/x86_64-pc-linux-gnu.supp index 3d15d714701..1f09a2f7110 100644 --- a/utils/valgrind/x86_64-pc-linux-gnu.supp +++ b/utils/valgrind/x86_64-pc-linux-gnu.supp @@ -45,6 +45,12 @@ obj:/usr/bin/python* } +{ + We don't care if tblgen leaks + Memcheck:Leak + obj:*/tblgen +} + { We don't care about anything ld.so does. Memcheck:Cond -- 2.34.1