if (N->NodeType & DSNode::Incomplete ) OS << "I";
if (N->NodeType & DSNode::Modified ) OS << "M";
if (N->NodeType & DSNode::Read ) OS << "R";
+ if (N->NodeType & DSNode::DEAD ) OS << "<dead>";
OS << "\n";
}
if (G->hasFunction())
return "Function " + G->getFunction().getName();
else
- return "Globals graph";
+ return "Global graph";
}
static const char *getGraphProperties(const DSGraph *G) {
return;
}
print(F);
+ F.close();
if (system("dot -Tps /tmp/tempgraph.dot > /tmp/tempgraph.ps"))
std::cerr << "Error running dot: 'dot' not in path?\n";
system("gv /tmp/tempgraph.ps");