]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Helgrind: add suppression for libnss from getaddrinfo
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 27 Jan 2024 07:00:34 +0000 (08:00 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sat, 27 Jan 2024 07:00:34 +0000 (08:00 +0100)
Seems as though Raspberry Pi OS doesn't have a debuginfo package
for libnss_mdns4 so we need to suppress based on the obj name.

There is still one error in the Helgrind getaddrinfo test, but that
is in the somewhat malformed libarmmem library (which does have
debuginfo but Valgrind can't read it because there is no ELF type
or size info). I think that suppressing that would be too broad.

glibc-2.X-helgrind.supp.in

index a8cb5fc6f0c23b54cba1da865200dc67fd398cd3..18bf5328e849e39b8279ff374cd3719fbd4a2f26 100644 (file)
    Helgrind:Race
    fun:_nss_*_gethostbyname4_r
 }
+
+{
+   helgrind--- libnss without debuginfo
+   Helgrind:Race
+   obj:/usr/lib/*/libnss_mdns4*.so.*
+}
+