mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-03 16:21:41 +00:00
Mark function edges
llvm-svn: 5571
This commit is contained in:
parent
174a241cd5
commit
37735c4677
@ -127,6 +127,8 @@ struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits {
|
||||
EdgeSourceCaptions[0] = "r";
|
||||
if (Call.isDirectCall())
|
||||
EdgeSourceCaptions[1] = Call.getCalleeFunc()->getName();
|
||||
else
|
||||
EdgeSourceCaptions[1] = "f";
|
||||
|
||||
GW.emitSimpleNode(&Call, "shape=record", "call", Call.getNumPtrArgs()+2,
|
||||
&EdgeSourceCaptions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user