git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] valgrind: also ignore Addr16 in check_refname_format

From
Jeff King <peff@peff.net>
Date
Jul 26, 2014, 11:38 UTC
Message-ID
<20140726113849.GA23117@peff.net>

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
Message 1 of 1 in “valgrind: also ignore Addr16 in check_refname_format”
  1. valgrind: also ignore Addr16 in check_refname_formatJeff King, Jul 26, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.