]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Addrcheck was broken, because it wasn't recognising "Overlap" suppressions.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 19 Sep 2003 08:10:07 +0000 (08:10 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 19 Sep 2003 08:10:07 +0000 (08:10 +0000)
Fixed now.

MERGE TO STABLE (assuming that Addrcheck does overlap checking in STABLE, which
I think it does)

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1828

memcheck/mac_needs.c
memcheck/mc_errcontext.c

index 2b5fb1489dd1c6209481492a2f4994f9afad9cd0..90203f8ae7ee5076d8b12655e71af25fb220e9e0 100644 (file)
@@ -528,6 +528,7 @@ Bool MAC_(shared_recognised_suppression) ( Char* name, Supp* su )
    else if (VG_STREQ(name, "Addr16"))  skind = Addr16Supp;
    else if (VG_STREQ(name, "Free"))    skind = FreeSupp;
    else if (VG_STREQ(name, "Leak"))    skind = LeakSupp;
+   else if (VG_STREQ(name, "Overlap")) skind = OverlapSupp;
    else
       return False;
 
index 29f0096fd3414d072eff1851003b9a1ebd459740..97133f6cde3c5ac4495a736c068d5731f1d047f7 100644 (file)
@@ -168,7 +168,6 @@ Bool SK_(recognised_suppression) ( Char* name, Supp* su )
    else if (VG_STREQ(name, "Value4"))  skind = Value4Supp;
    else if (VG_STREQ(name, "Value8"))  skind = Value8Supp;
    else if (VG_STREQ(name, "Value16")) skind = Value16Supp;
-   else if (VG_STREQ(name, "Overlap")) skind = OverlapSupp;
    else 
       return False;