mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Mark function edges
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5571 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd595203bd
commit
f1c283859b
@ -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…
Reference in New Issue
Block a user