diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2009-06-25 18:20:10 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2009-06-25 18:20:10 +0000 |
commit | 674207eed20d00e8666c85555981e7abff8d1c49 (patch) | |
tree | 402dcc009a5ef2cdadaf0a9bcd3d72e9754f2969 /llvm/lib/CompilerDriver/Action.cpp | |
parent | 3f76e6f83501963eec7491d4cb08c076e16c941c (diff) | |
download | bcm5719-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/Action.cpp')
-rw-r--r-- | llvm/lib/CompilerDriver/Action.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CompilerDriver/Action.cpp b/llvm/lib/CompilerDriver/Action.cpp index c0a1b849bcd..816f793bc07 100644 --- a/llvm/lib/CompilerDriver/Action.cpp +++ b/llvm/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) { |