Fixed handling of -t. It gets the prirority for temp dir name.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Thu, 9 Jul 2009 18:06:27 +0000 (18:06 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Thu, 9 Jul 2009 18:06:27 +0000 (18:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75154 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CompilerDriver/Main.cpp

index c6e4e1415a06a31de500d51b7555e8c95f6cb0bf..86863dcae2c6bf3751fa5255bbe9db421abfe9e2 100644 (file)
@@ -38,6 +38,7 @@ namespace {
         if (tempDir.createDirectoryOnDisk(true, &ErrMsg))
           throw std::runtime_error(ErrMsg);
       }
+      return tempDir;
     }
 
     // GCC 4.5-style -save-temps handling.