summaryrefslogtreecommitdiff
path: root/lib/CompilerDriver/Action.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
commit7defa2d3d5cf1e4f773360886d17fd3bc99c0930 (patch)
tree5344665f73a9603f0089bd864dee2928d5a47ac9 /lib/CompilerDriver/Action.cpp
parent3ea93ded0f9027f662907443c1e41362def14557 (diff)
downloadllvm-7defa2d3d5cf1e4f773360886d17fd3bc99c0930.tar.gz
llvm-7defa2d3d5cf1e4f773360886d17fd3bc99c0930.tar.bz2
llvm-7defa2d3d5cf1e4f773360886d17fd3bc99c0930.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver/Action.cpp')
-rw-r--r--lib/CompilerDriver/Action.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CompilerDriver/Action.cpp b/lib/CompilerDriver/Action.cpp
index c0a1b849bc..816f793bc0 100644
--- a/lib/CompilerDriver/Action.cpp
+++ b/lib/CompilerDriver/Action.cpp
@@ -12,8 +12,8 @@
//===----------------------------------------------------------------------===//
#include "llvm/CompilerDriver/Action.h"
+#include "llvm/CompilerDriver/BuiltinOptions.h"
-#include "llvm/Support/CommandLine.h"
#include "llvm/System/Program.h"
#include <iostream>
@@ -22,9 +22,6 @@
using namespace llvm;
using namespace llvmc;
-extern cl::opt<bool> DryRun;
-extern cl::opt<bool> VerboseMode;
-
namespace {
int ExecuteProgram(const std::string& name,
const StrVector& args) {