Escape graph edge labels.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126788 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2011-03-01 22:12:24 +00:00
parent d50f3f8731
commit 7ee42e6a28

View File

@ -78,7 +78,7 @@ class GraphWriter {
if (i)
O << "|";
O << "<s" << i << ">" << label;
O << "<s" << i << ">" << DOT::EscapeString(label);
}
if (EI != EE && hasEdgeSourceLabels)