OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e0c20b
)
Fix -view-sunit-dags to support cross-rc-copy nodes.
author
Dan Gohman
<gohman@apple.com>
Fri, 21 Mar 2008 22:51:06 +0000
(22:51 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 21 Mar 2008 22:51:06 +0000
(22:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48664
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index
ad58aa0
..
7779acc
100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@
-314,7
+314,10
@@
std::string DOTGraphTraits<ScheduleDAG*>::getNodeLabel(const SUnit *SU,
&G->DAG) + "\n";
}
- Op += DOTGraphTraits<SelectionDAG*>::getNodeLabel(SU->Node, &G->DAG);
+ if (SU->Node)
+ Op += DOTGraphTraits<SelectionDAG*>::getNodeLabel(SU->Node, &G->DAG);
+ else
+ Op += "<CROSS RC COPY>";
return Op;
}