From: Dan Gohman Date: Tue, 1 Mar 2011 22:12:24 +0000 (+0000) Subject: Escape graph edge labels. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7ee42e6a28784dcf6a6fa25c776362044eea6a91;p=oota-llvm.git Escape graph edge labels. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126788 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index ec64f73fe8e..a5165f44d54 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)