diff --git a/llvm/include/llvm/Support/GraphWriter.h b/llvm/include/llvm/Support/GraphWriter.h --- a/llvm/include/llvm/Support/GraphWriter.h +++ b/llvm/include/llvm/Support/GraphWriter.h @@ -265,10 +265,9 @@ << DOT::EscapeString(DTraits.getEdgeDestLabel(Node, i)); } - if (RenderUsingHTML) - O << "... truncated"; - else if (i != e) - O << "|truncated...}"; + if (i != e) + O << "|truncated..."; + O << "}"; } if (RenderUsingHTML)