From 7ee42e6a28784dcf6a6fa25c776362044eea6a91 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 1 Mar 2011 22:12:24 +0000 Subject: Escape graph edge labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126788 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/GraphWriter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Support/GraphWriter.h') diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index ec64f73fe8..a5165f44d5 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -78,7 +78,7 @@ class GraphWriter { if (i) O << "|"; - O << "" << label; + O << "" << DOT::EscapeString(label); } if (EI != EE && hasEdgeSourceLabels) -- cgit v1.2.3