<suppcounts>
zero or more of
- <supp> <count>INT</count> <name>TEXT</name> </supp>
+ <pair> <count>INT</count> <name>TEXT</name> </pair>
</suppcounts>
The <name> is as specified in the suppression name fields in .supp
Supp *su;
Bool any_supp;
+ if (VG_(clo_xml))
+ VG_(message)(Vg_DebugMsg, "<suppcounts>");
+
any_supp = False;
for (su = suppressions; su != NULL; su = su->next) {
if (su->count <= 0)
any_supp = True;
if (VG_(clo_xml)) {
VG_(message)(Vg_DebugMsg,
- "<supp><count>%d</count><name>%s</name></supp>",
+ " <pair><count>%d</count><name>%s</name></pair>",
su->count, su->sname);
} else {
VG_(message)(Vg_DebugMsg, "supp: %4d %s", su->count, su->sname);
}
}
+ if (VG_(clo_xml))
+ VG_(message)(Vg_DebugMsg, "<suppcounts>");
+
return any_supp;
}
if (err->count <= 0)
continue;
VG_(message)(
- Vg_UserMsg, " <pair><unique>0x%llx</unique>"
- "<count>%d</count></pair>",
- Ptr_to_ULong(err), err->count
+ Vg_UserMsg, " <pair><count>%d</count>"
+ "<unique>0x%llx</unique></pair>",
+ err->count, Ptr_to_ULong(err)
);
}
VG_(message)(Vg_UserMsg, "</errorcounts>");
VG_(message)(Vg_UserMsg, "");
VG_(message)(Vg_UserMsg, "<pid>%d</pid>", VG_(getpid)());
VG_(message)(Vg_UserMsg, "<ppid>%d</ppid>", VG_(getppid)());
+ VG_(message)(Vg_UserMsg, "<tool>%s</tool>", toolname);
VG_(message)(Vg_UserMsg, "");
VG_(message)(Vg_UserMsg, "<argv>");
for (i = 0; i < VG_(client_argc); i++)