diff options
Diffstat (limited to 'llvm/tools/opt/GraphPrinters.cpp')
-rw-r--r-- | llvm/tools/opt/GraphPrinters.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/opt/GraphPrinters.cpp b/llvm/tools/opt/GraphPrinters.cpp index 1ae6be253f7..2eeac3da87e 100644 --- a/llvm/tools/opt/GraphPrinters.cpp +++ b/llvm/tools/opt/GraphPrinters.cpp @@ -46,6 +46,9 @@ static void WriteGraphToFile(std::ostream &O, const std::string &GraphName, namespace llvm { template<> struct DOTGraphTraits<CallGraph*> : public DefaultDOTGraphTraits { + + DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} + static std::string getGraphName(CallGraph *F) { return "Call Graph"; } |