From: Chris Lattner Date: Fri, 14 Feb 2003 20:25:47 +0000 (+0000) Subject: Mark function edges X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f1c283859b4a2279773d22e0db59763f1f846212;p=oota-llvm.git Mark function edges git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5571 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp index 7af646757b9..7f0bf5a5120 100644 --- a/lib/Analysis/DataStructure/Printer.cpp +++ b/lib/Analysis/DataStructure/Printer.cpp @@ -127,6 +127,8 @@ struct DOTGraphTraits : 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);