This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add debug_function_graph_to_file
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: Tom de Vries <Tom_deVries at mentor dot com>, "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Date: Wed, 17 Feb 2016 15:00:00 +0100
- Subject: Re: [PATCH] Add debug_function_graph_to_file
- Authentication-results: sourceware.org; auth=none
- References: <56C46FE1 dot 4040000 at mentor dot com> <CAFiYyc15LuWDHcGHGjv1z6AVtVoPXrfHBnfWAK=p9K=wzquE9g at mail dot gmail dot com> <20160217135114 dot GV3163 at redhat dot com>
On Wed, Feb 17, 2016 at 2:51 PM, Marek Polacek <polacek@redhat.com> wrote:
> On Wed, Feb 17, 2016 at 02:45:36PM +0100, Richard Biener wrote:
>> OTOH I have in my local trees a more convenient form (attached).
>>
>> (gdb) call debug_dot_cfg (cfun, 1<<6)
>>
>> and a X window with the dotted graph opens.
>
> Is there any chance we could get this into the mainline? I'd love to use
> this without having to patch my tree locally. If I remember correctly
> there were some issues with unportable popen()?
I think I never posted it for inclusion. The ??? would also need investigation,
probably using a temporary file is easier (though would require manual
cleaning).
What does it take to write it in python instead?
Richard.
> Marek