summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CompilerDriver/CompilationGraph.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-24 17:37:09 +0000
committerOwen Anderson <resistor@mac.com>2009-06-24 17:37:09 +0000
commitb70adf2b922bc2413943dfcbae300fe0d067184b (patch)
tree06edb6580695b408781a92083c965ddad36f9d1b /llvm/lib/CompilerDriver/CompilationGraph.cpp
parent46be2e155784a5fb252ceffc89c1dbdf59306cba (diff)
downloadbcm5719-llvm-b70adf2b922bc2413943dfcbae300fe0d067184b.tar.gz
bcm5719-llvm-b70adf2b922bc2413943dfcbae300fe0d067184b.zip
Get rid of the global CFGOnly flag by threading a ShortNames parameters through the GraphViz rendering code.
Update other uses in the codebase for this change. llvm-svn: 74084
Diffstat (limited to 'llvm/lib/CompilerDriver/CompilationGraph.cpp')
-rw-r--r--llvm/lib/CompilerDriver/CompilationGraph.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CompilerDriver/CompilationGraph.cpp b/llvm/lib/CompilerDriver/CompilationGraph.cpp
index dece4e8e0ae..c7302afefb2 100644
--- a/llvm/lib/CompilerDriver/CompilationGraph.cpp
+++ b/llvm/lib/CompilerDriver/CompilationGraph.cpp
@@ -477,7 +477,8 @@ namespace llvm {
{
template<typename GraphType>
- static std::string getNodeLabel(const Node* N, const GraphType&)
+ static std::string getNodeLabel(const Node* N, const GraphType&,
+ bool ShortNames)
{
if (N->ToolPtr)
if (N->ToolPtr->IsJoin())
OpenPOWER on IntegriCloud