summaryrefslogtreecommitdiff
path: root/lib/CompilerDriver
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-09 18:06:27 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-07-09 18:06:27 +0000
commit7ebc424a31c7089558eec424a72fdf4ad085b05c (patch)
tree4c78523695aea1a1310bead500028e160efcac91 /lib/CompilerDriver
parentd1474d09cbe5fdeec8ba0d6c6b52f316f3422532 (diff)
downloadllvm-7ebc424a31c7089558eec424a72fdf4ad085b05c.tar.gz
llvm-7ebc424a31c7089558eec424a72fdf4ad085b05c.tar.bz2
llvm-7ebc424a31c7089558eec424a72fdf4ad085b05c.tar.xz
Fixed handling of -t. It gets the prirority for temp dir name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75154 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CompilerDriver')
-rw-r--r--lib/CompilerDriver/Main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp
index c6e4e1415a..86863dcae2 100644
--- a/lib/CompilerDriver/Main.cpp
+++ b/lib/CompilerDriver/Main.cpp
@@ -38,6 +38,7 @@ namespace {
if (tempDir.createDirectoryOnDisk(true, &ErrMsg))
throw std::runtime_error(ErrMsg);
}
+ return tempDir;
}
// GCC 4.5-style -save-temps handling.