diff options
author | Daniel Dunbar <daniel@zuster.org> | 2011-09-30 21:33:09 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2011-09-30 21:33:09 +0000 |
commit | 26e0b304557519c12b150afe23cd24e28fa20a1d (patch) | |
tree | db03d57990c8b89b522db4ad976ffe0d83d98167 /lib/Driver/Driver.cpp | |
parent | 1f634c6dc91805320bb13983faf5e86a2bd07421 (diff) |
Revert my --working-directory option, which wasn't well thought through.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 711b7dbe18..6f49bec01b 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -38,7 +38,6 @@ #include "llvm/Support/FileSystem.h" #include "llvm/Support/Path.h" #include "llvm/Support/Program.h" -#include "llvm/Support/Process.h" #include "InputInfo.h" @@ -324,13 +323,6 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) { if (Args->hasArg(options::OPT_nostdlib)) UseStdLib = false; - // Honor --working-directory. Eventually we want to handle this completely - // internally to support good use as a library, but for now we just change our - // working directory. - if (const Arg *A = Args->getLastArg(options::OPT__working_directory)) { - llvm::sys::Process::SetWorkingDirectory(A->getValue(*Args)); - } - Host = GetHostInfo(DefaultHostTriple.c_str()); // Perform the default argument translations. |