diff options
author | Dan Gohman <gohman@apple.com> | 2011-03-01 22:12:24 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-03-01 22:12:24 +0000 |
commit | 7ee42e6a28784dcf6a6fa25c776362044eea6a91 (patch) | |
tree | 8cebd6d9e59c7e94663713a9b0942f3d76d7ab45 | |
parent | d50f3f8731821bb9177bcaa44a0c18f7a26b3d80 (diff) | |
download | external_llvm-7ee42e6a28784dcf6a6fa25c776362044eea6a91.zip external_llvm-7ee42e6a28784dcf6a6fa25c776362044eea6a91.tar.gz external_llvm-7ee42e6a28784dcf6a6fa25c776362044eea6a91.tar.bz2 |
Escape graph edge labels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126788 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Support/GraphWriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index ec64f73..a5165f4 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -78,7 +78,7 @@ class GraphWriter { if (i) O << "|"; - O << "<s" << i << ">" << label; + O << "<s" << i << ">" << DOT::EscapeString(label); } if (EI != EE && hasEdgeSourceLabels) |