|
From: Nicholas N. <nj...@cs...> - 2005-03-04 05:37:52
|
CVS commit by nethercote:
Change things back so that suppressions still use mangled names -- maybe
we should change this, but if we do it should be documented, and the old
style should still be allowed to work.
M +2 -2 vg_errcontext.c 1.72
--- valgrind/coregrind/vg_errcontext.c #1.71:1.72
@@ -363,5 +363,5 @@ static void gen_suppression(Error* err)
if (i > 0)
eip -= MIN_INSTR_SIZE; // point to calling line
- if ( VG_(get_fnname) (eip, buf, M_VG_ERRTXT) ) {
+ if ( VG_(get_fnname_nodemangle) (eip, buf, M_VG_ERRTXT) ) {
// Stop after "main"; if main() is recursive, stop after last main().
@@ -985,5 +985,5 @@ Bool supp_matches_callers(Error* err, Su
case FunName:
// Nb: mangled names used in suppressions
- (void)VG_(get_fnname)(a, caller_name, M_VG_ERRTXT);
+ (void)VG_(get_fnname_nodemangle)(a, caller_name, M_VG_ERRTXT);
break;
default: VG_(skin_panic)("supp_matches_callers");
|