diff --git a/llvm/include/llvm/Analysis/CFGPrinter.h b/llvm/include/llvm/Analysis/CFGPrinter.h --- a/llvm/include/llvm/Analysis/CFGPrinter.h +++ b/llvm/include/llvm/Analysis/CFGPrinter.h @@ -308,7 +308,8 @@ : (getHeatColor(1)); std::string Attrs = "color=\"" + EdgeColor + "ff\", style=filled," + - " fillcolor=\"" + Color + "70\""; + " fillcolor=\"" + Color + "70\"" + + " fontname=\"Courier\""; return Attrs; } bool isNodeHidden(const BasicBlock *Node, const DOTFuncInfo *CFGInfo);