Re: [PATCH] Fix incorrect merge of conflictant names in `dump_graphviz`

2019-10-22 Thread Richard Biener
On Tue, Oct 22, 2019 at 1:00 AM Giuliano Belinassi wrote: > > Hi, > > When using lto-dump -callgraph with two or more .o files containing distinct > functions with the same name, dump_graphviz incorrectly merged those functions > into a single node. This patch fixes this issue by calling `dump_nam

[PATCH] Fix incorrect merge of conflictant names in `dump_graphviz`

2019-10-21 Thread Giuliano Belinassi
Hi, When using lto-dump -callgraph with two or more .o files containing distinct functions with the same name, dump_graphviz incorrectly merged those functions into a single node. This patch fixes this issue by calling `dump_name` instead of `name`, therefore concat'ing the function name with the