From: Sanjiv Gupta Date: Thu, 9 Jul 2009 18:06:27 +0000 (+0000) Subject: Fixed handling of -t. It gets the prirority for temp dir name. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7ebc424a31c7089558eec424a72fdf4ad085b05c;p=oota-llvm.git 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 c6e4e1415a0..86863dcae2c 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.