git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff King <peff@peff.net>
To: git@vger.kernel.org
Cc: David Turner <dturner@twitter.com>
Subject: [PATCH] valgrind: also ignore Addr16 in check_refname_format
Date: Sat, 26 Jul 2014 07:38:49 -0400	[thread overview]
Message-ID: <20140726113849.GA23117@peff.net> (raw)

We already suppress Addr8 warnings, but t1402 reliably
triggers Addr16 on my machine.

Signed-off-by: Jeff King <peff@peff.net>
---
I didn't look at the code, so I'm not sure if we could similarly trigger
Addr32, etc. This is enough for my machine.

 t/valgrind/default.supp | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/t/valgrind/default.supp b/t/valgrind/default.supp
index 9d51c92..d49a8b2 100644
--- a/t/valgrind/default.supp
+++ b/t/valgrind/default.supp
@@ -50,11 +50,16 @@
 	fun:copy_ref
 }
 {
-	ignore-sse-check_refname_format-addr
+	ignore-sse-check_refname_format-addr8
 	Memcheck:Addr8
 	fun:check_refname_format
 }
 {
+	ignore-sse-check_refname_format-addr16
+	Memcheck:Addr16
+	fun:check_refname_format
+}
+{
 	ignore-sse-check_refname_format-cond
 	Memcheck:Cond
 	fun:check_refname_format
-- 
2.0.0.566.gfe3e6b2

                 reply	other threads:[~2014-07-26 11:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140726113849.GA23117@peff.net \
    --to=peff@peff.net \
    --cc=dturner@twitter.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).