projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50f3f8
)
Escape graph edge labels.
author
Dan Gohman
<gohman@apple.com>
Tue, 1 Mar 2011 22:12:24 +0000
(22:12 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 1 Mar 2011 22:12:24 +0000
(22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126788
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/GraphWriter.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/GraphWriter.h
b/include/llvm/Support/GraphWriter.h
index ec64f73fe8ebd0a0c36c3b9faeae0909f4f0e1ae..a5165f44d54e2c8e682bafcf5a5637cb2d936ef2 100644
(file)
--- 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)