On 7/2/19 6:36 AM, Giuliano Belinassi wrote:
> This patch makes lto-dump the symtab callgraph in graphviz DOT format.
>
> Previously, the suggested patch had some minor and checkstyle issues
> that were fixed in this version.
>
>
> gcc/ChangeLog
> 2019-07-02 Giuliano Belinassi <giuliano.belina...@usp.br>
>
> * cgraph.c (dump_graphviz): New function
> * cgraph.h (dump_graphviz): New function
> * symtab.c (dump_graphviz): New function
>
> gcc/lto/ChangeLog
> 2019-07-02 Giuliano Belinassi <giuliano.belina...@usp.br>
>
> * lang.opt (flag_dump_callgraph): New flag
> * lto-dump.c (dump_symtab_graphviz): New function
> * lto-dump.c (dump_tool_help): New option
> * lto-dump.c (lto_main): New option
>
OK for the trunk.
jeff