diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-09 18:06:27 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-09 18:06:27 +0000 |
commit | 7ebc424a31c7089558eec424a72fdf4ad085b05c (patch) | |
tree | 4c78523695aea1a1310bead500028e160efcac91 /lib/CompilerDriver | |
parent | d1474d09cbe5fdeec8ba0d6c6b52f316f3422532 (diff) | |
download | external_llvm-7ebc424a31c7089558eec424a72fdf4ad085b05c.zip external_llvm-7ebc424a31c7089558eec424a72fdf4ad085b05c.tar.gz external_llvm-7ebc424a31c7089558eec424a72fdf4ad085b05c.tar.bz2 |
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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CompilerDriver/Main.cpp b/lib/CompilerDriver/Main.cpp index c6e4e14..86863dc 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. |