summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/GraphPrinters.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 12:38:13 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 12:38:13 +0000
commit90d334032a55963463b7abcb107147feb626cf62 (patch)
tree7c4724783f5f2b9a508d59e816fecd2a8a0d4e43 /llvm/tools/opt/GraphPrinters.cpp
parent8d6f6b74b14c1ea620a0f59e6bdd488f5f60052b (diff)
downloadbcm5719-llvm-90d334032a55963463b7abcb107147feb626cf62.tar.gz
bcm5719-llvm-90d334032a55963463b7abcb107147feb626cf62.zip
Instantiate DefaultDOTGraphTraits
llvm-svn: 90133
Diffstat (limited to 'llvm/tools/opt/GraphPrinters.cpp')
-rw-r--r--llvm/tools/opt/GraphPrinters.cpp3
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";
}
OpenPOWER on IntegriCloud