summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CompilerDriver/CompilationGraph.cpp
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2009-06-25 18:20:10 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2009-06-25 18:20:10 +0000
commit674207eed20d00e8666c85555981e7abff8d1c49 (patch)
tree402dcc009a5ef2cdadaf0a9bcd3d72e9754f2969 /llvm/lib/CompilerDriver/CompilationGraph.cpp
parent3f76e6f83501963eec7491d4cb08c076e16c941c (diff)
downloadbcm5719-llvm-674207eed20d00e8666c85555981e7abff8d1c49.tar.gz
bcm5719-llvm-674207eed20d00e8666c85555981e7abff8d1c49.zip
Make -save-temps behave like in GCC 4.5.
The -save-temps option now behaves like described in GCC 4.5 release notes (you can specify output directory for temporary files with -save-temps=obj -o $DIRNAME). I do not have GCC 4.5 installed, so if there are any inconsistencies between llvmc and GCC in the implementation of this feature, please let me know. llvm-svn: 74190
Diffstat (limited to 'llvm/lib/CompilerDriver/CompilationGraph.cpp')
-rw-r--r--llvm/lib/CompilerDriver/CompilationGraph.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/CompilerDriver/CompilationGraph.cpp b/llvm/lib/CompilerDriver/CompilationGraph.cpp
index c7302afefb2..1212a219b09 100644
--- a/llvm/lib/CompilerDriver/CompilationGraph.cpp
+++ b/llvm/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,7 @@ 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)
OpenPOWER on IntegriCloud