]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
When generating suppressions, remember to Z-demangle function names,
authorJulian Seward <jseward@acm.org>
Wed, 6 Dec 2006 03:35:38 +0000 (03:35 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 6 Dec 2006 03:35:38 +0000 (03:35 +0000)
since the suppression-matching machinery does the same.  Not doing so
causes auto-generated suppressions involving Z-mangled fn names to not
work.

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

coregrind/m_errormgr.c

index 205de7cdb7821ce5db05d44f556b0102b0abd1c9..369eb49bd19a6559aaa506091b3f149d26d84763 100644 (file)
@@ -402,7 +402,7 @@ static void printSuppForIp(UInt n, Addr ip)
 {
    static UChar buf[ERRTXT_LEN];
 
-   if ( VG_(get_fnname_nodemangle) (ip, buf,  ERRTXT_LEN) ) {
+   if ( VG_(get_fnname_Z_demangle_only) (ip, buf,  ERRTXT_LEN) ) {
       VG_(printf)("   fun:%s\n", buf);
    } else if ( VG_(get_objname)(ip, buf, ERRTXT_LEN) ) {
       VG_(printf)("   obj:%s\n", buf);