mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 06:11:37 +00:00
First pass at adding ability for Memcheck to print all output in XML
form. The relevant flag is --xml=yes. Currently this only works with Memcheck. Specifying this flag fixes various other options relating to verbosity and behaviour of the leak checker, so that the resulting output is in a relatively fixed form suitable for parsing by GUIs. Still to do: * Add mechanism to show error counts * Add regression test * Document the resulting format git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3773
This commit is contained in:
@@ -61,10 +61,15 @@
|
||||
}
|
||||
|
||||
/* Verbosity level: 0 = silent, 1 (default), > 1 = more verbose. */
|
||||
extern Int VG_(clo_verbosity);
|
||||
extern Int VG_(clo_verbosity);
|
||||
|
||||
/* Profile? */
|
||||
extern Bool VG_(clo_profile);
|
||||
/* Profile? default: NO */
|
||||
extern Bool VG_(clo_profile);
|
||||
|
||||
/* Emit all messages as XML? default: NO */
|
||||
/* If clo_xml is set, various other options are set in a non-default
|
||||
way. See vg_main.c and mc_main.c. */
|
||||
extern Bool VG_(clo_xml);
|
||||
|
||||
/* Call this if a recognised option was bad for some reason.
|
||||
Note: don't use it just because an option was unrecognised -- return 'False'
|
||||
|
||||
Reference in New Issue
Block a user