From: Markus Trippelsdorf <markus@trippelsdorf.de>
To: "Martin Liška" <mliska@suse.cz>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH,RFC] Introduce RUN_UNDER_VALGRIND in test-suite
Date: Thu, 19 Nov 2015 15:07:00 -0000 [thread overview]
Message-ID: <20151119150721.GA322@x4> (raw)
In-Reply-To: <564DDEF2.8090803@suse.cz>
On 2015.11.19 at 15:38 +0100, Martin Liška wrote:
>
> In last two weeks I've removed couple of memory leaks, mainly tight to
> middle-end. Currently, a user of the GCC compiler can pass
> '--enable-checking=valgrind' configure option that will run all
> commands within valgrind environment, but as the valgrind runs just
> with '-q' option, the result is not very helpful.
Well, it is easy to add as many valgrind options as you like to gcc.c.
(I normally add --track-origins=yes and just adjust the for loop at
line 3045).
The advantage of that approach is that the valgrind annotation macros
for the alloc-pool and the garbage collector (etc.) are used. So no
suppression file is needed.
--
Markus
next prev parent reply other threads:[~2015-11-19 15:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-19 14:38 Martin Liška
2015-11-19 15:07 ` Markus Trippelsdorf [this message]
2015-11-21 4:44 ` Hans-Peter Nilsson
2015-11-23 9:36 ` Martin Liška
2015-11-24 9:17 ` Hans-Peter Nilsson
2015-12-03 14:15 ` Bernd Schmidt
2015-12-08 15:28 ` Martin Liška
2015-12-08 15:33 ` Bernd Schmidt
2015-12-08 16:04 ` Jeff Law
2016-05-13 13:04 ` RUN_UNDER_VALGRIND statistics for GCC 7 Martin Liška
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151119150721.GA322@x4 \
--to=markus@trippelsdorf.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=mliska@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).