projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd59520
)
Mark function edges
author
Chris Lattner
<sabre@nondot.org>
Fri, 14 Feb 2003 20:25:47 +0000
(20:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 14 Feb 2003 20:25:47 +0000
(20:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5571
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DataStructure/Printer.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/Printer.cpp
b/lib/Analysis/DataStructure/Printer.cpp
index 7af646757b931beb8b86ea1ea0ff43000f2f7002..7f0bf5a5120d6ae859a5b4d7660eead83813d9c1 100644
(file)
--- a/
lib/Analysis/DataStructure/Printer.cpp
+++ b/
lib/Analysis/DataStructure/Printer.cpp
@@
-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);