summaryrefslogtreecommitdiffstats
path: root/lib/CompilerDriver/CompilationGraph.cpp
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-27 10:44:33 +0000
committered <ed@FreeBSD.org>2009-06-27 10:44:33 +0000
commitcf5cd875b51255602afaed29deb636b66b295671 (patch)
tree9794dc36f22f2a2b3f8063829d8a9b3a7794acc8 /lib/CompilerDriver/CompilationGraph.cpp
parent5c1b5c146f3df07c75174aff06c3bb0968f6857e (diff)
downloadFreeBSD-src-cf5cd875b51255602afaed29deb636b66b295671.zip
FreeBSD-src-cf5cd875b51255602afaed29deb636b66b295671.tar.gz
Import LLVM r74383.
Diffstat (limited to 'lib/CompilerDriver/CompilationGraph.cpp')
-rw-r--r--lib/CompilerDriver/CompilationGraph.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/CompilerDriver/CompilationGraph.cpp b/lib/CompilerDriver/CompilationGraph.cpp
index dece4e8..1212a21 100644
--- a/lib/CompilerDriver/CompilationGraph.cpp
+++ b/lib/CompilerDriver/CompilationGraph.cpp
@@ -11,11 +11,11 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/CompilerDriver/BuiltinOptions.h"
#include "llvm/CompilerDriver/CompilationGraph.h"
#include "llvm/CompilerDriver/Error.h"
#include "llvm/ADT/STLExtras.h"
-#include "llvm/Support/CommandLine.h"
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/Support/GraphWriter.h"
@@ -30,9 +30,6 @@
using namespace llvm;
using namespace llvmc;
-extern cl::list<std::string> InputFilenames;
-extern cl::list<std::string> Languages;
-
namespace llvmc {
const std::string& LanguageMap::GetLanguage(const sys::Path& File) const {
@@ -477,7 +474,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