Index: include/llvm/Support/GraphWriter.h =================================================================== --- include/llvm/Support/GraphWriter.h +++ include/llvm/Support/GraphWriter.h @@ -157,6 +157,8 @@ std::string NodeAttributes = DTraits.getNodeAttributes(Node, G); O << "\tNode" << static_cast(Node) << " [shape=record,"; + O << "fontname=\"monospace\","; + if (!NodeAttributes.empty()) O << NodeAttributes << ","; O << "label=\"{";