aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CompilerDriver
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-09 08:23:38 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-09 08:23:38 +0000
commit0b8f418488c4eb46d793e7580fb76dd42c92ad7e (patch)
treee891a33352749890c575e88221de5da034610366 /include/llvm/CompilerDriver
parent549882d312031880a6b03d31ffdf3e3e61bdfb71 (diff)
downloadexternal_llvm-0b8f418488c4eb46d793e7580fb76dd42c92ad7e.zip
external_llvm-0b8f418488c4eb46d793e7580fb76dd42c92ad7e.tar.gz
external_llvm-0b8f418488c4eb46d793e7580fb76dd42c92ad7e.tar.bz2
Add a -t="dir" option to the driver. This can be used to specify the directory to be used as TempDir if somebody doesn't want to use the standard /tmp.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CompilerDriver')
-rw-r--r--include/llvm/CompilerDriver/BuiltinOptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CompilerDriver/BuiltinOptions.h b/include/llvm/CompilerDriver/BuiltinOptions.h
index 492dffd..fe44c30 100644
--- a/include/llvm/CompilerDriver/BuiltinOptions.h
+++ b/include/llvm/CompilerDriver/BuiltinOptions.h
@@ -22,6 +22,7 @@ namespace SaveTempsEnum { enum Values { Cwd, Obj, Unset }; }
extern llvm::cl::list<std::string> InputFilenames;
extern llvm::cl::opt<std::string> OutputFilename;
+extern llvm::cl::opt<std::string> TempDirname;
extern llvm::cl::list<std::string> Languages;
extern llvm::cl::opt<bool> DryRun;
extern llvm::cl::opt<bool> VerboseMode;