|
From: <sv...@va...> - 2006-12-06 03:35:43
|
Author: sewardj
Date: 2006-12-06 03:35:38 +0000 (Wed, 06 Dec 2006)
New Revision: 6377
Log:
When generating suppressions, remember to Z-demangle function names,
since the suppression-matching machinery does the same. Not doing so
causes auto-generated suppressions involving Z-mangled fn names to not
work.
Modified:
trunk/coregrind/m_errormgr.c
Modified: trunk/coregrind/m_errormgr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_errormgr.c 2006-12-01 18:48:56 UTC (rev 6376)
+++ trunk/coregrind/m_errormgr.c 2006-12-06 03:35:38 UTC (rev 6377)
@@ -402,7 +402,7 @@
{
static UChar buf[ERRTXT_LEN];
=20
- 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);
|