forked from OSchip/llvm-project
Escape the graph name. This unbreaks -view-cfg.
llvm-svn: 53417
This commit is contained in:
parent
49eff5fbc0
commit
43f97716c7
|
@ -87,7 +87,7 @@ public:
|
|||
if (!Name.empty())
|
||||
O << "digraph " << Name << " {\n";
|
||||
else if (!GraphName.empty())
|
||||
O << "digraph " << GraphName << " {\n";
|
||||
O << "digraph \"" << DOT::EscapeString(GraphName) << "\" {\n";
|
||||
else
|
||||
O << "digraph unnamed {\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue