commit | c89a343575d0a8201fb399314d7bf7267fddee2a | [log] [tgz] |
---|---|---|
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Thu Jul 09 18:06:27 2009 +0000 |
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | Thu Jul 09 18:06:27 2009 +0000 |
tree | 4c78523695aea1a1310bead500028e160efcac91 | |
parent | a0167020062bbcfe0558faa29dd705ca6f9a8e2a [diff] |
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
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 @@ if (tempDir.createDirectoryOnDisk(true, &ErrMsg)) throw std::runtime_error(ErrMsg); } + return tempDir; } // GCC 4.5-style -save-temps handling.